mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
chore: remove button check
This commit is contained in:
parent
c893dfd102
commit
e84e2b0aaa
1 changed files with 1 additions and 3 deletions
|
@ -365,10 +365,8 @@ MainWindow::mousePressEvent(QMouseEvent *event)
|
|||
{
|
||||
#if defined(Q_OS_LINUX)
|
||||
if (QGuiApplication::platformName() == "wayland") {
|
||||
if (event->button() == Qt::LeftButton) {
|
||||
emit hideMenu();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
return QQuickView::mousePressEvent(event);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue