chore: remove button check
This commit is contained in:
parent
c893dfd102
commit
e84e2b0aaa
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user