]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Fix position of Dolphin menu with multiple-screens setup
authorPeter Penz <peter.penz19@gmail.com>
Mon, 30 May 2011 14:32:03 +0000 (16:32 +0200)
committerPeter Penz <peter.penz19@gmail.com>
Mon, 30 May 2011 14:33:35 +0000 (16:33 +0200)
BUG: 274495
FIXED-IN: 4.7.0

src/dolphinmainwindow.cpp

index e2cba6b7a40bfd134f22f96824fce4736a35079c..3b5f493ca903be55baa485d6f20013c28567a1af 100644 (file)
@@ -2279,6 +2279,8 @@ void ToolBarMenu::showEvent(QShowEvent* event)
         pos.ry() = button->mapToGlobal(QPoint(0, 0)).y() - height();
     }
 
         pos.ry() = button->mapToGlobal(QPoint(0, 0)).y() - height();
     }
 
+    pos += screen.topLeft();
+
     move(pos);
 }
 
     move(pos);
 }