summaryrefslogtreecommitdiffstats
path: root/src/mixxxapplication.h
diff options
context:
space:
mode:
authorBe <be@mixxx.org>2018-03-28 11:57:10 -0500
committerBe <be@mixxx.org>2018-03-28 11:57:10 -0500
commit32a65bfa9a886ec58d6760507f245a60f021a76b (patch)
tree539e9c178d0f6ceae013497086209daad2cba9db /src/mixxxapplication.h
parent6d13a9885a7ae0ce06e321166ba6e804041c1af2 (diff)
disable Qt4 touchscreen hack on macOS
Macs do not have touch screens and this may be causing UI lagging issues: https://bugs.launchpad.net/mixxx/+bug/1759433
Diffstat (limited to 'src/mixxxapplication.h')
-rw-r--r--src/mixxxapplication.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mixxxapplication.h b/src/mixxxapplication.h
index 37cbf958d7..b512f68a8c 100644
--- a/src/mixxxapplication.h
+++ b/src/mixxxapplication.h
@@ -11,9 +11,11 @@ class MixxxApplication : public QApplication {
MixxxApplication(int& argc, char** argv);
~MixxxApplication() override;
+#ifndef Q_OS_MAC
#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
virtual bool notify(QObject*, QEvent*);
#endif
+#endif
private:
bool touchIsRightButton();