aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/theme
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/theme')
-rw-r--r--src/modules/theme/ThemeFunctions.cpp2
-rw-r--r--src/modules/theme/managementdialog.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/theme/ThemeFunctions.cpp b/src/modules/theme/ThemeFunctions.cpp
index f1062cb94..681ac076c 100644
--- a/src/modules/theme/ThemeFunctions.cpp
+++ b/src/modules/theme/ThemeFunctions.cpp
@@ -282,7 +282,7 @@ namespace ThemeFunctions
hd.szButton2Text = __tr2qs_ctx("Yes, Proceed","theme");
hd.iDefaultButton = 2;
hd.iCancelButton = 1;
- hd.pixIcon = *(g_pIconManager->getSmallIcon(KVI_SMALLICON_THEME));
+ hd.pixIcon = *(g_pIconManager->getSmallIcon(KviIconManager::Theme));
hd.iMinimumWidth = 350;
hd.iMinimumHeight = 420;
hd.iFlags = KviHtmlDialogData::ForceMinimumSize;
diff --git a/src/modules/theme/managementdialog.cpp b/src/modules/theme/managementdialog.cpp
index 5595cd19e..a94b1ff04 100644
--- a/src/modules/theme/managementdialog.cpp
+++ b/src/modules/theme/managementdialog.cpp
@@ -112,7 +112,7 @@ ThemeManagementDialog::ThemeManagementDialog(QWidget * parent)
m_pItemDelegate=0;
setObjectName("theme_options_widget");
setWindowTitle(__tr2qs_ctx("Manage Themes - KVIrc","theme"));
- setWindowIcon(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_THEME)));
+ setWindowIcon(*(g_pIconManager->getSmallIcon(KviIconManager::Theme)));
m_pInstance = this;
@@ -280,8 +280,8 @@ void ThemeManagementDialog::contextMenuRequested(const QPoint & pos)
{
m_pListWidget->setCurrentItem(m_pListWidget->itemAt(pos));
m_pContextPopup->clear();
- m_pContextPopup->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_MINUS)),__tr2qs_ctx("&Remove Theme","theme"),this,SLOT(deleteTheme()));
- m_pContextPopup->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_ACCEPT)),__tr2qs_ctx("&Apply Theme","theme"),this,SLOT(applyCurrentTheme()));
+ m_pContextPopup->insertItem(*(g_pIconManager->getSmallIcon(KviIconManager::Minus)),__tr2qs_ctx("&Remove Theme","theme"),this,SLOT(deleteTheme()));
+ m_pContextPopup->insertItem(*(g_pIconManager->getSmallIcon(KviIconManager::Accept)),__tr2qs_ctx("&Apply Theme","theme"),this,SLOT(applyCurrentTheme()));
m_pContextPopup->popup(m_pListWidget->viewport()->mapToGlobal(pos));
}
}