1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 09:42:10 +02:00

WebView: Use Qt::Back/ForwardButton instead of XButton1/2

This commit is contained in:
David Rosca 2019-01-26 10:37:32 +01:00
parent ab43af9958
commit 0bb78c8501
No known key found for this signature in database
GPG Key ID: EBC3FC294452C6D8

View File

@ -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;