Added panel bar width to mask calculation.
authorJussi Laitinen <jupe@l3l7588.ixonos.local>
Wed, 1 Sep 2010 05:18:23 +0000 (08:18 +0300)
committerJussi Laitinen <jupe@l3l7588.ixonos.local>
Wed, 1 Sep 2010 05:18:23 +0000 (08:18 +0300)
src/ui/tabbedpanel.cpp

index 582066d..50f0344 100644 (file)
@@ -143,7 +143,7 @@ void TabbedPanel::calculateMask()
                                       panelContextButtonBarRect.width(),
                                       panelContextButtonBarRect.height());
     QRegion panelContentRegion(panelTabBarRect.right() + 1, 0,
-                               PANEL_WIDTH, height());
+                               PANEL_WIDTH + PANEL_BAR_WIDTH, height());
     QRegion panelRegion = panelTabBarRegion + panelContentRegion + panelContextButtonBarRegion;
 
     setMask(panelRegion);