From 36b5ff88b15d8793c64ad1a361ea0c28f9cbe169 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Mon, 23 Jul 2012 17:56:30 +0200 Subject: Coding style --- src/tabwindow/tabbar.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/tabwindow/tabbar.cpp') 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(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); } -- cgit v1.2.1