diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-04-17 11:45:42 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-04-17 11:45:42 +0200 |
commit | 7f3743e6359d492dec7def64a701b0153b65f11c (patch) | |
tree | 84b9e6965708ada949f8ab44c9047cac0c96f273 /src/settings.cpp | |
parent | Updated desktop file (diff) | |
download | rekonq-7f3743e6359d492dec7def64a701b0153b65f11c.tar.xz |
Added webkit icon
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); } // ----------------------------------------------------------------------------------------------------- |