summaryrefslogtreecommitdiff
path: root/src/tabwindow/tabbar.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-09-22 12:36:01 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-12-10 02:48:05 +0100
commitb87d73147b681d548c11785004c21e469c026391 (patch)
tree514903d91f781c2c9c05236d747bc614be171314 /src/tabwindow/tabbar.cpp
parentIntegrated spell checking for rekonq2 (lindsay's work imported) (diff)
downloadrekonq-b87d73147b681d548c11785004c21e469c026391.tar.xz
Re-enable fullscreen capabilities
Diffstat (limited to 'src/tabwindow/tabbar.cpp')
-rw-r--r--src/tabwindow/tabbar.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tabwindow/tabbar.cpp b/src/tabwindow/tabbar.cpp
index 18393cf9..a1e69745 100644
--- a/src/tabwindow/tabbar.cpp
+++ b/src/tabwindow/tabbar.cpp
@@ -102,6 +102,11 @@ QSize TabBar::tabSizeHint(int index) const
int h = size().height();
+ // this because it may happen sometimes (eg: exiting fullscreen)
+ // that tabbar height is set to ZERO. And this is NOT good...
+ if (h == 0)
+ h = 30;
+
QSize ts = QSize(w, h);
return ts;
}