diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-09-09 14:13:43 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-09-10 22:15:11 +0200 |
commit | 002bfdbaf5daf0a19f8c64cb9568ce6a24c63d4f (patch) | |
tree | 23dd32c269f64fcff6c40d1d8b0d62cf64575e37 | |
parent | Fixed improper use of Bookmark Manager class (diff) | |
download | rekonq-002bfdbaf5daf0a19f8c64cb9568ce6a24c63d4f.tar.xz |
Restored Home Action (and button in the main toolbar)
-rw-r--r-- | src/mainwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 513b7d73..171739d5 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -170,6 +170,7 @@ void MainWindow::setupToolbar() m_mainBar->addAction( actionByName(KStandardAction::name(KStandardAction::Forward)) ); m_mainBar->addSeparator(); m_mainBar->addAction( actionByName("stop_reload") ); + m_mainBar->addAction( actionByName(KStandardAction::name(KStandardAction::Home)) ); m_mainBar->addAction( actionByName("url_bar") ); m_mainBar->addAction( actionByName("bookmarksActionMenu") ); m_mainBar->addAction( actionByName("rekonq_tools") ); @@ -256,6 +257,7 @@ void MainWindow::setupActions() a = KStandardAction::fullScreen(this, SLOT(slotViewFullScreen(bool)), this, actionCollection()); a->setShortcut(KShortcut(Qt::Key_F11, Qt::CTRL + Qt::SHIFT + Qt::Key_F)); + KStandardAction::home(this, SLOT(slotHome()), actionCollection()); KStandardAction::preferences(this, SLOT(slotPreferences()), actionCollection()); // WEB Actions (NO KStandardActions..) |