From cd02f3880c5567a4bbb7b56e7034787005df7da8 Mon Sep 17 00:00:00 2001 From: zautrix Date: Mon, 21 Mar 2005 09:12:37 +0000 Subject: agenda mouse fix --- (limited to 'korganizer') diff --git a/korganizer/koagenda.cpp b/korganizer/koagenda.cpp index dcb46a8..5420822 100644 --- a/korganizer/koagenda.cpp +++ b/korganizer/koagenda.cpp @@ -450,7 +450,7 @@ bool KOAgenda::eventFilter_mouse(QObject *object, QMouseEvent *me) break; case QEvent::MouseButtonRelease: - if ( rightClickTime.elapsed() > 700 && blockMoving ) + if ( rightClickTime.elapsed() > 500 && blockMoving ) rightButtonPressed = true; if (object != viewport()) { if (me->button() == RightButton || rightButtonPressed ) { diff --git a/korganizer/koagendaitem.cpp b/korganizer/koagendaitem.cpp index 042a789..0ea2860 100644 --- a/korganizer/koagendaitem.cpp +++ b/korganizer/koagendaitem.cpp @@ -75,14 +75,14 @@ KOAgendaItem::KOAgendaItem(Incidence *incidence, QDate qd, QWidget *parent,bool QWidget(parent, name), mIncidence(incidence), mDate(qd) { #ifndef DESKTOP_VERSION - QPEApplication::setStylusOperation( this, QPEApplication::RightOnHold ); + //QPEApplication::setStylusOperation( this, QPEApplication::RightOnHold ); #endif new KOAgendaItemWhatsThis(this); int wflags = getWFlags() |WRepaintNoErase;// WResizeNoErase setWFlags ( wflags); mAllDay = allday; init ( incidence, qd ); - setMouseTracking(true); + //setMouseTracking(true); //setAcceptDrops(true); xPaintCoord = -1; yPaintCoord = -1; -- cgit v0.9.0.2