aboutsummaryrefslogtreecommitdiffstats
path: root/community/coretoppings/fix-qt5.12-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/coretoppings/fix-qt5.12-build.patch')
-rw-r--r--community/coretoppings/fix-qt5.12-build.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/coretoppings/fix-qt5.12-build.patch b/community/coretoppings/fix-qt5.12-build.patch
new file mode 100644
index 0000000000..37f641c23c
--- /dev/null
+++ b/community/coretoppings/fix-qt5.12-build.patch
@@ -0,0 +1,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())
+ {