diff options
Diffstat (limited to 'lumina-desktop/LDesktop.h')
-rw-r--r-- | lumina-desktop/LDesktop.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lumina-desktop/LDesktop.h b/lumina-desktop/LDesktop.h index 55f31cd7..14b6efc3 100644 --- a/lumina-desktop/LDesktop.h +++ b/lumina-desktop/LDesktop.h @@ -83,11 +83,9 @@ private slots: //Menu functions void UpdateMenu(bool fast = false); - void ShowMenu(const QPoint &pt = QPoint()){ + void ShowMenu(){ UpdateMenu(true); //run the fast version - //qDebug() << "Show Context Menu:" << QCursor::pos() << pt; - if(pt.isNull()){ deskMenu->popup(QCursor::pos()); } - else{ deskMenu->popup( bgWindow->mapToGlobal(pt)); } + deskMenu->popup(QCursor::pos()); //} } void UpdateWinMenu(); void winClicked(QAction*); |