From b87d73147b681d548c11785004c21e469c026391 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sat, 22 Sep 2012 12:36:01 +0200 Subject: Re-enable fullscreen capabilities --- src/tabwindow/tabbar.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/tabwindow/tabbar.cpp') 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; } -- cgit v1.2.1