mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +00:00
@@ -2706,7 +2706,9 @@ bool MainWidget::eventFilter(QObject *o, QEvent *e) {
|
|||||||
}
|
}
|
||||||
} else if (e->type() == QEvent::MouseButtonPress) {
|
} else if (e->type() == QEvent::MouseButtonPress) {
|
||||||
if (static_cast<QMouseEvent*>(e)->button() == Qt::BackButton) {
|
if (static_cast<QMouseEvent*>(e)->button() == Qt::BackButton) {
|
||||||
|
if (!Core::App().hideMediaView()) {
|
||||||
handleHistoryBack();
|
handleHistoryBack();
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
} else if (e->type() == QEvent::Wheel) {
|
} else if (e->type() == QEvent::Wheel) {
|
||||||
|
Reference in New Issue
Block a user