diff options
Diffstat (limited to 'src/settings.cpp')
-rw-r--r-- | src/settings.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/settings.cpp b/src/settings.cpp index e5a8b025..ff919eaf 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -44,6 +44,7 @@ // KDE Includes #include <KConfig> +#include <KStandardDirs> #include <KConfigSkeleton> #include <KPageWidgetItem> #include <KFontDialog> @@ -102,7 +103,10 @@ Private::Private(SettingsDialog *parent) webkitUi.setupUi(widget); widget->layout()->setMargin(0); pageItem = parent->addPage(widget , i18n("Webkit")); - pageItem->setIcon(KIcon("applications-internet")); + QString webkitIconPath = KStandardDirs::locate("appdata", "pics/webkit-icon.png"); + kWarning() << webkitIconPath; + KIcon webkitIcon = KIcon( QIcon(webkitIconPath) ); + pageItem->setIcon(webkitIcon); } // ----------------------------------------------------------------------------------------------------- |