aboutsummaryrefslogtreecommitdiffstats
path: root/community/coretoppings/fix-qt5.12-build.patch
blob: 37f641c23cc62fd6013fe0f19a0ede8fafe1282e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/sni/statusnotifierbutton.cpp b/sni/statusnotifierbutton.cpp
index d07eb6b0163fc33db8e4e03731df7ee31ce671b2..c339657d538ded7544520386a31e01237e423304 100644
--- a/sni/statusnotifierbutton.cpp
+++ b/sni/statusnotifierbutton.cpp
@@ -267,7 +267,7 @@ void StatusNotifierButton::mouseReleaseEvent(QMouseEvent *event)
 {
     if (event->button() == Qt::LeftButton)
         interface->Activate(QCursor::pos().x(), QCursor::pos().y());
-    else if (event->button() == Qt::MidButton)
+    else if (event->button() == Qt::MiddleButton)
         interface->SecondaryActivate(QCursor::pos().x(), QCursor::pos().y());
     else if (Qt::RightButton == event->button())
     {