mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
WebView: Use Qt::Back/ForwardButton instead of XButton1/2
This commit is contained in:
parent
ab43af9958
commit
0bb78c8501
@ -1078,12 +1078,12 @@ void WebView::_mousePressEvent(QMouseEvent *event)
|
||||
}
|
||||
|
||||
switch (event->button()) {
|
||||
case Qt::XButton1:
|
||||
case Qt::BackButton:
|
||||
back();
|
||||
event->accept();
|
||||
break;
|
||||
|
||||
case Qt::XButton2:
|
||||
case Qt::ForwardButton:
|
||||
forward();
|
||||
event->accept();
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user