KIcon -> QIcon

This commit is contained in:
Luca Beltrame 2014-10-03 23:02:19 +02:00
parent a568beac2a
commit e2cdec1947
3 changed files with 5 additions and 5 deletions

View file

@ -60,7 +60,7 @@ DanbooruConnectWidget::DanbooruConnectWidget(QVector< KUrl > urlList,
setupUi(this);
danbooruUrlComboBox->setFocus();
closeButton->setIcon(KIcon(QLatin1String("dialog-close")));
closeButton->setIcon(QIcon::fromTheme(QLatin1String("dialog-close")));
closeButton->setToolTip(i18n("Close dialog and discard changes"));
userLineEdit->setClearButtonShown(true);
passwdLineEdit->setClearButtonShown(true);