author | zautrix <zautrix> | 2005-04-01 23:20:35 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-04-01 23:20:35 (UTC) |
commit | 7aefe488d1fe0c34cf29460f48a9a97d632f615e (patch) (side-by-side diff) | |
tree | 74428992c61546dfab1f4e966b9910f8cb5e8bde | |
parent | 02bdd5a73feb7bd2431c5492c7bbf663f28efbd8 (diff) | |
download | kdepimpi-7aefe488d1fe0c34cf29460f48a9a97d632f615e.zip kdepimpi-7aefe488d1fe0c34cf29460f48a9a97d632f615e.tar.gz kdepimpi-7aefe488d1fe0c34cf29460f48a9a97d632f615e.tar.bz2 |
nf
-rw-r--r-- | korganizer/koagenda.cpp | 3 |
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; } |