summaryrefslogtreecommitdiff
path: root/src/GLView.h
diff options
context:
space:
mode:
authorGiles Bathgate <gilesbathgate@gmail.com>2011-05-14 21:29:45 (GMT)
committerGiles Bathgate <gilesbathgate@gmail.com>2011-05-14 21:29:45 (GMT)
commita878f3773d4c2647451ec93a85203ce906e13e2d (patch)
tree0cdaf25601a2b47c910cee860d36e8266605c40f /src/GLView.h
parent9eff0b4bdb22657e77c55fcc4e5435578350408b (diff)
Use QPoint instead of seperate x and y mouse vars.
Diffstat (limited to 'src/GLView.h')
-rw-r--r--src/GLView.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/GLView.h b/src/GLView.h
index 4977abb..be21578 100644
--- a/src/GLView.h
+++ b/src/GLView.h
@@ -57,8 +57,7 @@ private:
double w_h_ratio;
bool mouse_drag_active;
- int last_mouse_x;
- int last_mouse_y;
+ QPoint last_mouse;
void keyPressEvent(QKeyEvent *event);
void wheelEvent(QWheelEvent *event);
contact: Jan Huwald // Impressum