Remove QIcon::fromTheme usage

This commit is contained in:
Craig Drummond
2018-05-24 19:11:59 +01:00
parent 74fb297167
commit bbff59d793
4 changed files with 6 additions and 12 deletions

View File

@@ -44,7 +44,7 @@ PathRequester::PathRequester(QWidget *parent)
layout->addWidget(edit);
layout->addWidget(btn);
btn->setAutoRaise(true);
btn->setIcon(icon.isNull() ? QIcon::fromTheme("document-open") : icon);
btn->setIcon(icon);
connect(btn, SIGNAL(clicked(bool)), SLOT(choose()));
connect(edit, SIGNAL(textChanged(const QString &)), SIGNAL(textChanged(const QString &)));
}