summaryrefslogtreecommitdiffabout
path: root/korganizer/koagenda.cpp
Side-by-side diff
Diffstat (limited to 'korganizer/koagenda.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koagenda.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/korganizer/koagenda.cpp b/korganizer/koagenda.cpp
index 99009a5..cdeeac5 100644
--- a/korganizer/koagenda.cpp
+++ b/korganizer/koagenda.cpp
@@ -414,5 +414,5 @@ bool KOAgenda::eventFilter_mouse(QObject *object, QMouseEvent *me)
static int startX = 0;
static int startY = 0;
- static int blockmoveDist = ( QApplication::desktop()->width() < 480 ? 15 : 20 );
+ int blockmoveDist = ( QApplication::desktop()->width() < 480 ? 7 : 9 );
static bool blockMoving = true;
@@ -452,4 +452,5 @@ bool KOAgenda::eventFilter_mouse(QObject *object, QMouseEvent *me)
QPoint viewportPos;
if (object != viewport()) {
+ blockmoveDist = blockmoveDist*2;
viewportPos = ((QWidget *)object)->mapToParent(me->pos());
} else {
@@ -471,5 +472,5 @@ bool KOAgenda::eventFilter_mouse(QObject *object, QMouseEvent *me)
mPopupKind = 1;
if (me->button() == RightButton) {
- mPopupKind = 3;
+ mPopupKind = 3;
popupMenu();
} else if (me->button() == LeftButton) {
@@ -501,5 +502,5 @@ bool KOAgenda::eventFilter_mouse(QObject *object, QMouseEvent *me)
mStartCellX = gx;
mStartCellY = gy;
- mPopupKind = 4;
+ mPopupKind = 4;
popupMenu();
} else if (me->button() == LeftButton) {