mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 03:00:46 +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,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 a new issue