summaryrefslogtreecommitdiff
path: root/src/history/historypanel.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-04-07 02:10:20 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-04-08 00:56:40 +0200
commitc51282fb7d0092c6a5587e33b1bdfb609290edf1 (patch)
treeb48de030b2e8d5f47f23a167a3fe18a4f8089bc1 /src/history/historypanel.cpp
parentAdd a missing slot (diff)
downloadrekonq-c51282fb7d0092c6a5587e33b1bdfb609290edf1.tar.xz
Some stupid not so important fixes
Diffstat (limited to 'src/history/historypanel.cpp')
-rw-r--r--src/history/historypanel.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/history/historypanel.cpp b/src/history/historypanel.cpp
index ec84bc02..87b5fe55 100644
--- a/src/history/historypanel.cpp
+++ b/src/history/historypanel.cpp
@@ -119,6 +119,7 @@ void HistoryPanel::setup()
connect(m_treeView, SIGNAL(contextMenuGroupRequested(const QPoint &)), this, SLOT(contextMenuGroup(const QPoint &)));
}
+
void HistoryPanel::contextMenuItem(const QPoint &pos)
{
KMenu *menu = new KMenu(this);
@@ -145,6 +146,7 @@ void HistoryPanel::contextMenuItem(const QPoint &pos)
menu->popup(m_treeView->mapToGlobal(pos));
}
+
void HistoryPanel::contextMenuGroup(const QPoint &pos)
{
KMenu *menu = new KMenu(this);
@@ -160,6 +162,7 @@ void HistoryPanel::contextMenuGroup(const QPoint &pos)
menu->popup(m_treeView->mapToGlobal(pos));
}
+
void HistoryPanel::openAll()
{
QModelIndex index = m_treeView->currentIndex();
@@ -173,10 +176,14 @@ void HistoryPanel::openAll()
if(allChild.length() > 8)
{
- if(!(KMessageBox::warningContinueCancel(this, i18n("You are about to open %1 tabs.\nAre you sure ?", QString::number(allChild.length()))) == KMessageBox::Continue))
+ if( !(KMessageBox::warningContinueCancel(this,
+ i18n("You are about to open %1 tabs.\nAre you sure ?",
+ QString::number(allChild.length()))) == KMessageBox::Continue)
+ )
return;
}
for(int i = 0; i < allChild.length(); i++)
emit openUrl(allChild.at(i).url(), Rekonq::SettingOpenTab);
}
+