summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-03-21 09:12:37 (UTC)
committer zautrix <zautrix>2005-03-21 09:12:37 (UTC)
commitcd02f3880c5567a4bbb7b56e7034787005df7da8 (patch) (side-by-side diff)
treee55e325b4688733b59232363c1d9c8e1eddb691d
parent9707cf053ab0e64949518ebd2729d432435f583c (diff)
downloadkdepimpi-cd02f3880c5567a4bbb7b56e7034787005df7da8.zip
kdepimpi-cd02f3880c5567a4bbb7b56e7034787005df7da8.tar.gz
kdepimpi-cd02f3880c5567a4bbb7b56e7034787005df7da8.tar.bz2
agenda mouse fix
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--korganizer/koagenda.cpp2
-rw-r--r--korganizer/koagendaitem.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/korganizer/koagenda.cpp b/korganizer/koagenda.cpp
index dcb46a8..5420822 100644
--- a/korganizer/koagenda.cpp
+++ b/korganizer/koagenda.cpp
@@ -447,13 +447,13 @@ bool KOAgenda::eventFilter_mouse(QObject *object, QMouseEvent *me)
startSelectAction(viewportPos);
}
}
break;
case QEvent::MouseButtonRelease:
- if ( rightClickTime.elapsed() > 700 && blockMoving )
+ if ( rightClickTime.elapsed() > 500 && blockMoving )
rightButtonPressed = true;
if (object != viewport()) {
if (me->button() == RightButton || rightButtonPressed ) {
if ( blockMoving ) {
mClickedItem = (KOAgendaItem *)object;
if (mActionItem ) {
diff --git a/korganizer/koagendaitem.cpp b/korganizer/koagendaitem.cpp
index 042a789..0ea2860 100644
--- a/korganizer/koagendaitem.cpp
+++ b/korganizer/koagendaitem.cpp
@@ -72,20 +72,20 @@ private:
KOAgendaItem::KOAgendaItem(Incidence *incidence, QDate qd, QWidget *parent,bool allday,
const char *name,WFlags) :
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;
}
QString KOAgendaItem::getWhatsThisText()
{