summaryrefslogtreecommitdiff
path: root/src/tabbar.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-07-06 22:46:16 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-07-06 22:46:16 +0200
commit67ed4f88998e30b90cfcb93cd8e6bd7e4d0ae7bd (patch)
tree2cf2c3b2034265ee4111cce99c03466c6314c745 /src/tabbar.cpp
parentFixed a line that was calling QString::startsWith() without args. Fixed build. (diff)
downloadrekonq-67ed4f88998e30b90cfcb93cd8e6bd7e4d0ae7bd.tar.xz
Fix adblock hide behavior
NOTE: You'll find also some style & copyrights fixes here. Just reenable the git hooks scripts... BUG: 302050
Diffstat (limited to 'src/tabbar.cpp')
-rw-r--r--src/tabbar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tabbar.cpp b/src/tabbar.cpp
index 39dd7f74..ac257d12 100644
--- a/src/tabbar.cpp
+++ b/src/tabbar.cpp
@@ -91,7 +91,7 @@ TabBar::TabBar(QWidget *parent)
// avoid ambiguos shortcuts. See BUG:275858
KAcceleratorManager::setNoAccel(this);
-
+
connect(this, SIGNAL(contextMenu(int, QPoint)), this, SLOT(contextMenu(int, QPoint)));
connect(this, SIGNAL(emptyAreaContextMenu(QPoint)), this, SLOT(emptyAreaContextMenu(QPoint)));
@@ -106,7 +106,7 @@ TabBar::TabBar(QWidget *parent)
QSize TabBar::tabSizeHint(int index) const
{
Q_UNUSED(index);
-
+
MainView *view = qobject_cast<MainView *>(parent());
int buttonSize = view->addTabButton()->size().width();