┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels/information/informationpanelcontent.h
diff options
context:
space:
mode:
authorMéven Car <[email protected]>2019-03-12 08:54:46 -0600
committerNate Graham <[email protected]>2019-03-12 09:25:31 -0600
commit40896c02d996f69f7bf4e8adebe28acdbff8d350 (patch)
treefdff394745a25eb636b44d1fa9cd584b034ffb3f /src/panels/information/informationpanelcontent.h
parent94d7e1471e0a81b72285795ad91c4f6196157ae4 (diff)
Correctly position context menu of the information panel under wayland with a secondary screen
Summary: According to my testing this bug occurs because Qcursor::pos() does not work as expected under wayland on a secondary screen, then it returns inaccurate data. This could hide bugs elsewhere. BUG: 404799 FIXED-IN: 19.04.0 Test Plan: Under Wayland test the context menu on both screens. Do the same under Xorg. Reviewers: #dolphin, elvisangelaccio Reviewed By: #dolphin, elvisangelaccio Subscribers: elvisangelaccio, ngraham, nicolasfella, kfm-devel Tags: #dolphin Differential Revision: https://phabricator.kde.org/D19535
Diffstat (limited to 'src/panels/information/informationpanelcontent.h')
-rw-r--r--src/panels/information/informationpanelcontent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panels/information/informationpanelcontent.h b/src/panels/information/informationpanelcontent.h
index 9223fcc5a..ca9afab09 100644
--- a/src/panels/information/informationpanelcontent.h
+++ b/src/panels/information/informationpanelcontent.h
@@ -78,7 +78,7 @@ public:
*
* TODO: Move this code to the class InformationPanel
*/
- void configureSettings(const QList<QAction*>& customContextMenuActions);
+ void configureSettings(const QList<QAction*>& customContextMenuActions, const QPointF& pos);
signals:
void urlActivated( const QUrl& url );