Commit 60a7b022 authored by Laurent Montel's avatar Laurent Montel 😁

Port away from deprecated Qt::MidButton

parent 606c65c5
......@@ -542,7 +542,7 @@ void KMagZoomView::mousePressEvent(QMouseEvent *e)
}
break;
case Qt::MidButton :
case Qt::MiddleButton :
// check if currently in move mode
// don't do anything if follow mouse is enabled
if ((m_mouseMode != MoveSelection) && !m_followMouse) {
......@@ -584,7 +584,7 @@ void KMagZoomView::mouseReleaseEvent(QMouseEvent *e)
{
switch(e->button()) {
case Qt::LeftButton :
case Qt::MidButton :
case Qt::MiddleButton :
// check if currently in move mode
if(m_mouseMode == MoveSelection) {
// hide the selection window
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment