[qet] [3991] Minor, fix warning |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 3991
Author: scorpio810
Date: 2015-05-25 17:15:02 +0200 (Mon, 25 May 2015)
Log Message:
-----------
Minor, fix warning
Modified Paths:
--------------
trunk/sources/editor/elementscene.cpp
Modified: trunk/sources/editor/elementscene.cpp
===================================================================
--- trunk/sources/editor/elementscene.cpp 2015-05-25 10:22:00 UTC (rev 3990)
+++ trunk/sources/editor/elementscene.cpp 2015-05-25 15:15:02 UTC (rev 3991)
@@ -80,7 +80,7 @@
}
QPointF event_pos = e -> scenePos();
- if (!e -> modifiers() & Qt::ControlModifier)
+ if (!(e -> modifiers() & Qt::ControlModifier))
event_pos = snapToGrid(event_pos);
if (behavior == PasteArea) {