summaryrefslogtreecommitdiff
path: root/extra/amarok/contextviewfix.patch
blob: 2363b623c6c33702cd01ca71c01126fc2c957bb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/context/containments/verticallayout/VerticalToolbarContainment.cpp b/src/context/containments/verticallayout/VerticalToolbarContainment.cpp
index a23305f..8fa6f9b 100644
--- a/src/context/containments/verticallayout/VerticalToolbarContainment.cpp
+++ b/src/context/containments/verticallayout/VerticalToolbarContainment.cpp
@@ -129,7 +129,8 @@ Context::VerticalToolbarContainment::updateGeometry()
     if(!view())
         return;
 
-    QRectF rect = view()->sceneRect();
+    // mimic ContextView::resizeEvent(), nothing else seems to work, bug 292895
+    QRectF rect( view()->pos(), view()->maximumViewportSize() );
     setGeometry( rect );
     m_applets->setGeometry( rect );
     m_applets->refresh();