summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-04-01 23:20:35 (UTC)
committer zautrix <zautrix>2005-04-01 23:20:35 (UTC)
commit7aefe488d1fe0c34cf29460f48a9a97d632f615e (patch) (side-by-side diff)
tree74428992c61546dfab1f4e966b9910f8cb5e8bde
parent02bdd5a73feb7bd2431c5492c7bbf663f28efbd8 (diff)
downloadkdepimpi-7aefe488d1fe0c34cf29460f48a9a97d632f615e.zip
kdepimpi-7aefe488d1fe0c34cf29460f48a9a97d632f615e.tar.gz
kdepimpi-7aefe488d1fe0c34cf29460f48a9a97d632f615e.tar.bz2
nf
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--korganizer/koagenda.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/korganizer/koagenda.cpp b/korganizer/koagenda.cpp
index 9720f43..deadfc9 100644
--- a/korganizer/koagenda.cpp
+++ b/korganizer/koagenda.cpp
@@ -501,26 +501,27 @@ bool KOAgenda::eventFilter_mouse(QObject *object, QMouseEvent *me)
} else { // ---------- viewport()
if (me->button() == LeftButton && mLeftMouseDown ) { //left click
endSelectAction( true ); // emit new event signal
}
}
if (me->button() == LeftButton)
mLeftMouseDown = false;
break;
case QEvent::MouseMove:
+ //qDebug("mm ");
if ( !mLeftMouseDown )
- return true;
+ return false;
if ( blockMoving ) {
int dX, dY;
dX = startX - viewportPos.x();
if ( dX < 0 )
dX = -dX;
dY = viewportPos.y() - startY;
if ( dY < 0 )
dY = -dY;
//qDebug("%d %d %d ", dX, dY , blockmoveDist );
if ( dX > blockmoveDist || dY > blockmoveDist ) {
blockMoving = false;
}