summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-04-01 23:20:35 (UTC)
committer zautrix <zautrix>2005-04-01 23:20:35 (UTC)
commit7aefe488d1fe0c34cf29460f48a9a97d632f615e (patch) (unidiff)
tree74428992c61546dfab1f4e966b9910f8cb5e8bde
parent02bdd5a73feb7bd2431c5492c7bbf663f28efbd8 (diff)
downloadkdepimpi-7aefe488d1fe0c34cf29460f48a9a97d632f615e.zip
kdepimpi-7aefe488d1fe0c34cf29460f48a9a97d632f615e.tar.gz
kdepimpi-7aefe488d1fe0c34cf29460f48a9a97d632f615e.tar.bz2
nf
Diffstat (more/less context) (ignore 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
@@ -507,14 +507,15 @@ bool KOAgenda::eventFilter_mouse(QObject *object, QMouseEvent *me)
507 if (me->button() == LeftButton) 507 if (me->button() == LeftButton)
508 mLeftMouseDown = false; 508 mLeftMouseDown = false;
509 509
510 break; 510 break;
511 511
512 case QEvent::MouseMove: 512 case QEvent::MouseMove:
513 //qDebug("mm ");
513 if ( !mLeftMouseDown ) 514 if ( !mLeftMouseDown )
514 return true; 515 return false;
515 if ( blockMoving ) { 516 if ( blockMoving ) {
516 int dX, dY; 517 int dX, dY;
517 dX = startX - viewportPos.x(); 518 dX = startX - viewportPos.x();
518 if ( dX < 0 ) 519 if ( dX < 0 )
519 dX = -dX; 520 dX = -dX;
520 dY = viewportPos.y() - startY; 521 dY = viewportPos.y() - startY;