diff options
author | megabigbug <megabigbug@arrakis.(none)> | 2009-07-24 21:59:16 +0200 |
---|---|---|
committer | megabigbug <megabigbug@arrakis.(none)> | 2009-07-24 21:59:16 +0200 |
commit | 1663176524f25913c99eeb3f68b5e19f34537565 (patch) | |
tree | 5105743726ff3c5a73fa35489a46cdf5a42a97a9 | |
parent | Rekonq tools menu (diff) | |
download | rekonq-1663176524f25913c99eeb3f68b5e19f34537565.tar.xz |
Add a page in the configuration panel for shortcuts settings
-rw-r--r-- | src/settings.cpp | 5 |
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")); } |