diff options
author | David E. Narváez <david.narvaez@computer.org> | 2013-08-26 14:26:57 -0500 |
---|---|---|
committer | David E. Narváez <david.narvaez@computer.org> | 2013-08-26 14:26:57 -0500 |
commit | b225ab8ccd373f46c2f39044ac9832610b0b5910 (patch) | |
tree | d2883c6cdbb778059076e19635669e02492c8ddf /src/tabwindow/tabbar.cpp | |
parent | Set the Base URL of Error Pages (diff) | |
download | rekonq-b225ab8ccd373f46c2f39044ac9832610b0b5910.tar.xz |
Reenable the Reload All Tabs Action
Make the slot public and connect a tab context menu action to it.
REVIEW: 112290
Diffstat (limited to 'src/tabwindow/tabbar.cpp')
-rw-r--r-- | src/tabwindow/tabbar.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tabwindow/tabbar.cpp b/src/tabwindow/tabbar.cpp index eb062bf6..b64e5655 100644 --- a/src/tabwindow/tabbar.cpp +++ b/src/tabwindow/tabbar.cpp @@ -208,6 +208,10 @@ void TabBar::contextMenu(int tabIndex, const QPoint &pos) a->setData(tabIndex); menu.addAction(a); + a = new KAction(KIcon("view-refresh"), i18n("Reload All"), this); + connect(a, SIGNAL(triggered(bool)), w, SLOT(reloadAllTabs())); + menu.addAction(a); + if (count() > 1) { a = new KAction(KIcon("tab-detach"), i18n("Detach"), this); |