KIcon -> QIcon
This commit is contained in:
parent
a568beac2a
commit
e2cdec1947
3 changed files with 5 additions and 5 deletions
|
@ -60,7 +60,7 @@ DanbooruConnectWidget::DanbooruConnectWidget(QVector< KUrl > urlList,
|
||||||
setupUi(this);
|
setupUi(this);
|
||||||
|
|
||||||
danbooruUrlComboBox->setFocus();
|
danbooruUrlComboBox->setFocus();
|
||||||
closeButton->setIcon(KIcon(QLatin1String("dialog-close")));
|
closeButton->setIcon(QIcon::fromTheme(QLatin1String("dialog-close")));
|
||||||
closeButton->setToolTip(i18n("Close dialog and discard changes"));
|
closeButton->setToolTip(i18n("Close dialog and discard changes"));
|
||||||
userLineEdit->setClearButtonShown(true);
|
userLineEdit->setClearButtonShown(true);
|
||||||
passwdLineEdit->setClearButtonShown(true);
|
passwdLineEdit->setClearButtonShown(true);
|
||||||
|
|
|
@ -67,11 +67,11 @@ namespace Danbooru {
|
||||||
|
|
||||||
|
|
||||||
QAction * connectAction = new QAction(
|
QAction * connectAction = new QAction(
|
||||||
KIcon(QLatin1String("document-open-remote")),
|
QIcon::fromTheme(QLatin1String("document-open-remote")),
|
||||||
i18n("Connect..."),
|
i18n("Connect..."),
|
||||||
this);
|
this);
|
||||||
|
|
||||||
QAction * fetchAction = new QAction(KIcon(QLatin1String("download")),
|
QAction * fetchAction = new QAction(QIcon::fromTheme(QLatin1String("download")),
|
||||||
i18n("Download"), this);
|
i18n("Download"), this);
|
||||||
|
|
||||||
connectAction->setShortcut(KStandardShortcut::open());
|
connectAction->setShortcut(KStandardShortcut::open());
|
||||||
|
|
|
@ -59,9 +59,9 @@ namespace Danbooru {
|
||||||
|
|
||||||
m_buttonSize = qMax(sz.width(), sz.height());
|
m_buttonSize = qMax(sz.width(), sz.height());
|
||||||
|
|
||||||
m_downloadButton = new KPushButton(KIcon("download"),
|
m_downloadButton = new KPushButton(QIcon::fromTheme("download"),
|
||||||
QString(), itemView);
|
QString(), itemView);
|
||||||
m_viewButton = new KPushButton(KIcon("view-preview"), QString(),
|
m_viewButton = new KPushButton(QIcon::fromTheme("view-preview"), QString(),
|
||||||
itemView);
|
itemView);
|
||||||
|
|
||||||
m_downloadButton->hide();
|
m_downloadButton->hide();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue