summary refs log tree commit diff
path: root/src/MainWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/MainWindow.cpp')
-rw-r--r--src/MainWindow.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp

index 3fedbdc0..8c2b4c35 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp
@@ -365,9 +365,7 @@ MainWindow::mousePressEvent(QMouseEvent *event) { #if defined(Q_OS_LINUX) if (QGuiApplication::platformName() == "wayland") { - if (event->button() == Qt::LeftButton) { - emit hideMenu(); - } + emit hideMenu(); } #endif return QQuickView::mousePressEvent(event);