[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: =?utf-8?q?=5Bkde-baseapps=5D_dolphin/src=3A_Fix_position_of_Dolp?=
From: Peter Penz <peter.penz19 () gmail ! com>
Date: 2011-05-30 14:33:47
Message-ID: 20110530143347.F2E7DA60A4 () git ! kde ! org
[Download RAW message or body]
Git commit 7ae99b2aebde35a3dcf58cf936f80587ebae49eb by Peter Penz.
Committed on 30/05/2011 at 16:32.
Pushed by ppenz into branch 'master'.
Fix position of Dolphin menu with multiple-screens setup
BUG: 274495
FIXED-IN: 4.7.0
M +2 -0 dolphin/src/dolphinmainwindow.cpp
http://commits.kde.org/kde-baseapps/7ae99b2aebde35a3dcf58cf936f80587ebae49eb
diff --git a/dolphin/src/dolphinmainwindow.cpp b/dolphin/src/dolphinmainwindow.cpp
index e2cba6b..3b5f493 100644
--- a/dolphin/src/dolphinmainwindow.cpp
+++ b/dolphin/src/dolphinmainwindow.cpp
@@ -2279,6 +2279,8 @@ void ToolBarMenu::showEvent(QShowEvent* event)
pos.ry() = button->mapToGlobal(QPoint(0, 0)).y() - height();
}
+ pos += screen.topLeft();
+
move(pos);
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic