summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2012-10-13 22:16:09 +0000
committerStanislaw Halik <sthalik@misaki.pl>2012-10-13 22:16:09 +0000
commit46a1e934f0f5c26d678ab81166a1781c020efb0a (patch)
tree224ae2b07eb7100b4d6f352d4624d3d33c96ceef
parentf5e084aad38168326d88e6ce870879e5523e5189 (diff)
Allow for dragging outside of widget borders, while still preserving XY limits.
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@187 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
-rw-r--r--QFunctionConfigurator/QFunctionConfigurator/qfunctionconfigurator.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/QFunctionConfigurator/QFunctionConfigurator/qfunctionconfigurator.cpp b/QFunctionConfigurator/QFunctionConfigurator/qfunctionconfigurator.cpp
index 58bf69ac..dfdc41ec 100644
--- a/QFunctionConfigurator/QFunctionConfigurator/qfunctionconfigurator.cpp
+++ b/QFunctionConfigurator/QFunctionConfigurator/qfunctionconfigurator.cpp
@@ -505,10 +505,6 @@ void QFunctionConfigurator::mousePressEvent(QMouseEvent *e)
void QFunctionConfigurator::mouseMoveEvent(QMouseEvent *e)
{
- if (!withinRect(e->pos(), range)) {
- return;
- }
-
if (moving) {
setCursor(Qt::ClosedHandCursor);