summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
authormegabigbug <megabigbug@arrakis.(none)>2009-07-24 21:59:16 +0200
committermegabigbug <megabigbug@arrakis.(none)>2009-07-24 21:59:16 +0200
commit1663176524f25913c99eeb3f68b5e19f34537565 (patch)
tree5105743726ff3c5a73fa35489a46cdf5a42a97a9 /src/settings.cpp
parentRekonq tools menu (diff)
downloadrekonq-1663176524f25913c99eeb3f68b5e19f34537565.tar.xz
Add a page in the configuration panel for shortcuts settings
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index dda00a0e..47339ce4 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -50,6 +50,7 @@
#include <KPageWidgetItem>
#include <KFontDialog>
#include <KUrl>
+#include <KShortcutsEditor>
// Qt Includes
#include <QtCore/QPointer>
@@ -108,6 +109,10 @@ Private::Private(SettingsDialog *parent)
kWarning() << webkitIconPath;
KIcon webkitIcon = KIcon(QIcon(webkitIconPath));
pageItem->setIcon(webkitIcon);
+
+ widget = new KShortcutsEditor(Application::instance()->mainWindow()->actionCollection(),parent);
+ pageItem = parent->addPage(widget , i18n("Shortcuts"));
+ pageItem->setIcon(KIcon("configure-shortcuts"));
}