summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Edmundson <[email protected]>2014-08-10 14:04:18 +0200
committerDavid Edmundson <[email protected]>2014-08-10 14:04:18 +0200
commit00fbf1a664cf3eae9ac08609a2026f7254726328 (patch)
treea0ea4d8dc61fd8ffe171edd72061d18654712a43
parent641242c76849a98330f24174e2802526b0bc57d2 (diff)
KIcon loading
-rw-r--r--src/dcrawsettingswidget.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dcrawsettingswidget.cpp b/src/dcrawsettingswidget.cpp
index af23253..097617e 100644
--- a/src/dcrawsettingswidget.cpp
+++ b/src/dcrawsettingswidget.cpp
@@ -49,6 +49,7 @@
#include <kurllabel.h>
#include <ktoolinvocation.h>
#include <kdebug.h>
+#include <KIconLoader>
// Local includes
@@ -404,7 +405,7 @@ void DcrawSettingsWidget::setup(int advSettings)
d->refineInterpolationBox->setEnabled(false);
}
- addItem(d->demosaicingSettings, SmallIcon("kdcraw"), i18nc("@label", "Demosaicing"), QString("demosaicing"), true);
+ addItem(d->demosaicingSettings, KIconLoader::global()->loadIcon("kdcraw", KIconLoader::Small), i18nc("@label", "Demosaicing"), QString("demosaicing"), true);
// ---------------------------------------------------------------
// WHITE BALANCE Settings Panel