diff options
author | Marius Kintel <marius@kintel.net> | 2014-02-05 05:27:05 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2014-02-05 05:27:05 (GMT) |
commit | 0f3de6ca8ab02609919fd2a98fce65c6d7b54166 (patch) | |
tree | 161908a465ce198fc4b20e2503b2dfeb49fbbd69 /src/QGLView.cc | |
parent | 00d20bb5ac94e64700216e046f6650542b9bb187 (diff) |
Qt5: Ported Q_WS usage to Q_OS
Diffstat (limited to 'src/QGLView.cc')
-rw-r--r-- | src/QGLView.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/QGLView.cc b/src/QGLView.cc index 6ffd586..83acf23 100644 --- a/src/QGLView.cc +++ b/src/QGLView.cc @@ -217,7 +217,7 @@ void QGLView::mouseMoveEvent(QMouseEvent *event) double dy = (this_mouse.y()-last_mouse.y()) * 0.7; if (mouse_drag_active) { if (event->buttons() & Qt::LeftButton -#ifdef Q_WS_MAC +#ifdef Q_OS_MAC && !(event->modifiers() & Qt::MetaModifier) #endif ) { |