summaryrefslogtreecommitdiff
path: root/src/tabwindow/tabbar.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-07-23 17:56:30 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-12-10 02:48:04 +0100
commit36b5ff88b15d8793c64ad1a361ea0c28f9cbe169 (patch)
tree55dad28e2578e9ef6a3bbde5d85f7b2ecc84ba57 /src/tabwindow/tabbar.cpp
parentTabWindow, first import :) (diff)
downloadrekonq-36b5ff88b15d8793c64ad1a361ea0c28f9cbe169.tar.xz
Coding style
Diffstat (limited to 'src/tabwindow/tabbar.cpp')
-rw-r--r--src/tabwindow/tabbar.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tabwindow/tabbar.cpp b/src/tabwindow/tabbar.cpp
index 06b90897..bcb39b10 100644
--- a/src/tabwindow/tabbar.cpp
+++ b/src/tabwindow/tabbar.cpp
@@ -38,7 +38,7 @@ TabBar::TabBar(QWidget *parent)
setTabsClosable(true);
setMovable(true);
setAcceptDrops(true);
-
+
// avoid ambiguos shortcuts. See BUG:275858
KAcceleratorManager::setNoAccel(this);
@@ -144,9 +144,9 @@ void TabBar::reopenLastClosedTab()
void TabBar::contextMenu(int tab, const QPoint &pos)
{
TabWindow *w = qobject_cast<TabWindow *>(parent());
-
+
KAction *a;
-
+
KMenu menu;
a = new KAction(KIcon("tab-new"), i18n("New &Tab"), this);
@@ -187,7 +187,7 @@ void TabBar::contextMenu(int tab, const QPoint &pos)
a->setData(tab);
menu.addAction(a);
}
-
+
menu.addSeparator();
@@ -206,7 +206,7 @@ void TabBar::contextMenu(int tab, const QPoint &pos)
a = new KAction(KIcon("bookmark-new"), i18n("Bookmark"), this);
menu.addAction(a);
}
-
+
menu.exec(pos);
}