summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-06-20 10:37:30 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-06-20 10:37:30 +0200
commitf9441ee6e3033b370703ce8ab4e86fa5e9400a2c (patch)
treeec9a9b0ecc1eb502aa74621420f9974b796d76a3 /src
parentRFC. History Menu Revisited. (diff)
downloadrekonq-f9441ee6e3033b370703ce8ab4e86fa5e9400a2c.tar.xz
Various Fixes
Diffstat (limited to 'src')
-rw-r--r--src/mainwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index ec3f45c6..a555df9a 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -251,6 +251,7 @@ void MainWindow::setupActions()
// stop reload Action
m_stopReloadAction = new KAction(KIcon("view-refresh"), i18n("Reload"), this);
+ m_stopReloadAction->setShortcut(KShortcut(Qt::Key_F5));
actionCollection()->addAction(QLatin1String("stop_reload") , m_stopReloadAction);
m_stopReloadAction->setShortcutConfigurable(false);
@@ -337,7 +338,7 @@ void MainWindow::setupSidePanel()
addDockWidget(Qt::LeftDockWidgetArea, m_sidePanel);
// setup side panel actions
- QAction* a = m_sidePanel->toggleViewAction();
+ KAction* a = (KAction *) m_sidePanel->toggleViewAction();
a->setText( i18n("History Panel") );
a->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_H)); // WARNING : is this the right shortcut ??
actionCollection()->addAction(QLatin1String("show_history_panel"), a);