summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-04-17 11:45:42 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-04-17 11:45:42 +0200
commit7f3743e6359d492dec7def64a701b0153b65f11c (patch)
tree84b9e6965708ada949f8ab44c9047cac0c96f273 /src/settings.cpp
parentUpdated desktop file (diff)
downloadrekonq-7f3743e6359d492dec7def64a701b0153b65f11c.tar.xz
Added webkit icon
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp6
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);
}
// -----------------------------------------------------------------------------------------------------