diff options
| author | Elvis Angelaccio <[email protected]> | 2019-03-10 12:45:43 +0100 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2019-03-10 12:45:43 +0100 |
| commit | 9f2bb143b5ee00eddaaebbfe83da2f2da9f18863 (patch) | |
| tree | e8c0038a797b289538fbc718ae69f7cbe274161b /src/panels/folders/treeviewcontextmenu.h | |
| parent | 3c9efb362a9c7079a1e05822b846b0d34b3fb2a4 (diff) | |
[FoldersPanel] Stop ignoring positions from the controller
This fixes the position of Folder panel's context menus on multi-screens
on Wayland, because `QCursor::pos()` is not reliable on those setups.
Diffstat (limited to 'src/panels/folders/treeviewcontextmenu.h')
| -rw-r--r-- | src/panels/folders/treeviewcontextmenu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panels/folders/treeviewcontextmenu.h b/src/panels/folders/treeviewcontextmenu.h index a9491fb5c..245b7d6b0 100644 --- a/src/panels/folders/treeviewcontextmenu.h +++ b/src/panels/folders/treeviewcontextmenu.h @@ -49,7 +49,7 @@ public: ~TreeViewContextMenu() override; /** Opens the context menu modal. */ - void open(); + void open(const QPoint& pos); private slots: /** Cuts the item m_fileItem. */ |
