summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-02-01 00:07:00 (UTC)
committer zautrix <zautrix>2005-02-01 00:07:00 (UTC)
commit74c59cea6db3e3a1c0a5922f7fa12ada24f4672b (patch) (side-by-side diff)
tree8fe561a0aa3eca8c1949209c95c286adcd03a9c3
parentfce3fd8accec495a2deda6fe3cd55375fac46432 (diff)
downloadkdepimpi-74c59cea6db3e3a1c0a5922f7fa12ada24f4672b.zip
kdepimpi-74c59cea6db3e3a1c0a5922f7fa12ada24f4672b.tar.gz
kdepimpi-74c59cea6db3e3a1c0a5922f7fa12ada24f4672b.tar.bz2
VINklumpen
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/kotodoview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp
index 99402c4..da8b4bc 100644
--- a/korganizer/kotodoview.cpp
+++ b/korganizer/kotodoview.cpp
@@ -215,15 +215,15 @@ void KOTodoListView::paintEvent(QPaintEvent* e)
QListView::paintEvent( e);
}
void KOTodoListView::contentsMouseMoveEvent(QMouseEvent* e)
{
#ifndef KORG_NODND
- QListView::contentsMouseMoveEvent(e);
+ //QListView::contentsMouseMoveEvent(e);
if (mMousePressed && (mPressPos - e->pos()).manhattanLength() >
- QApplication::startDragDistance()) {
+ QApplication::startDragDistance()*3) {
mMousePressed = false;
QListViewItem *item = itemAt(contentsToViewport(mPressPos));
if (item) {
DndFactory factory( mCalendar );
ICalDrag *vd = factory.createDrag(
((KOTodoViewItem *)item)->todo(),viewport());
@@ -240,13 +240,13 @@ void KOTodoListView::contentsMouseMoveEvent(QMouseEvent* e)
if ( !internalDrop ) {
qDebug("Dnd: External Copy");
} else
qDebug("DnD: Internal copy: Copy pending");
}
}
- }
+ }
#endif
}
void KOTodoListView::keyPressEvent ( QKeyEvent * e )
{
QListViewItem* cn;