diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-06-20 09:46:23 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-06-20 09:46:23 +0200 |
commit | 205e89597c14473f34ace33c30d503eb9b7cf7e7 (patch) | |
tree | c907c58be84182c5ef60d03f29d9601875fc524b /src/historymenu.cpp | |
parent | Removed unuseful history dialog. We use just history panel, from now on.. (diff) | |
download | rekonq-205e89597c14473f34ace33c30d503eb9b7cf7e7.tar.xz |
History Panel Action fix
Diffstat (limited to 'src/historymenu.cpp')
-rw-r--r-- | src/historymenu.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/historymenu.cpp b/src/historymenu.cpp index df8bb756..8d75324d 100644 --- a/src/historymenu.cpp +++ b/src/historymenu.cpp @@ -19,16 +19,22 @@ * ============================================================ */ +// Auto Includes #include "historymenu.h" #include "historymenu.moc" +// Local Includes #include "application.h" +#include "mainwindow.h" +// Qt Includes #include <QtGui/QWidget> #include <QtCore/QModelIndex> +// KDE Includes #include <KUrl> + HistoryMenu::HistoryMenu(QWidget *parent) : ModelMenu(parent) , m_history(0) @@ -68,8 +74,7 @@ void HistoryMenu::postPopulated() if (m_history->history().count() > 0) addSeparator(); - KAction *showAllAction = new KAction(i18n("Show All History"), this); -// connect(showAllAction, SIGNAL(triggered()), this, SLOT(showHistoryDialog())); + QAction *showAllAction = Application::instance()->mainWindow()->actionByName("show_history_panel"); addAction(showAllAction); KAction *clearAction = new KAction(i18n("Clear History"), this); |