mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-27 03:30:20 +00:00
Simple deprecation. Qt::MidButton
This commit is contained in:
parent
1826ec6daa
commit
b932f4289e
|
@ -2227,7 +2227,7 @@ void PageView::mouseMoveEvent(QMouseEvent *e)
|
|||
}
|
||||
|
||||
// if holding mouse mid button, perform zoom
|
||||
if (e->buttons() & Qt::MidButton) {
|
||||
if (e->buttons() & Qt::MiddleButton) {
|
||||
int deltaY = d->mouseMidLastY - e->globalPos().y();
|
||||
d->mouseMidLastY = e->globalPos().y();
|
||||
|
||||
|
|
Loading…
Reference in a new issue