summaryrefslogtreecommitdiffabout
path: root/korganizer
authorzautrix <zautrix>2005-01-31 09:21:57 (UTC)
committer zautrix <zautrix>2005-01-31 09:21:57 (UTC)
commit1c5f4d993bf5eeb4a21bacf61671a1a08ed1f3cd (patch) (side-by-side diff)
treedd55b89fd37ffb8a880c175c5237f5ca57ca6d4c /korganizer
parent9b13105b4cc0ede4ca2d01a3d998fdb90bf67b58 (diff)
downloadkdepimpi-1c5f4d993bf5eeb4a21bacf61671a1a08ed1f3cd.zip
kdepimpi-1c5f4d993bf5eeb4a21bacf61671a1a08ed1f3cd.tar.gz
kdepimpi-1c5f4d993bf5eeb4a21bacf61671a1a08ed1f3cd.tar.bz2
fix
Diffstat (limited to 'korganizer') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/kodaymatrix.cpp18
-rw-r--r--korganizer/kotodoviewitem.cpp4
2 files changed, 13 insertions, 9 deletions
diff --git a/korganizer/kodaymatrix.cpp b/korganizer/kodaymatrix.cpp
index 9812321..ca896b5 100644
--- a/korganizer/kodaymatrix.cpp
+++ b/korganizer/kodaymatrix.cpp
@@ -214,3 +214,3 @@ void KODayMatrix::repaintViewTimed()
{
- //qDebug("KODayMatrix::repaintViewTimed ");
+ qDebug("KODayMatrix::repaintViewTimed ");
mRepaintTimer->stop();
@@ -222,3 +222,3 @@ void KODayMatrix::updateViewTimed()
mUpdateTimer->stop();
- //qDebug("KODayMatrix::updateView(QDate actdate) %d", ++iii );
+ qDebug("KODayMatrix::updateView(QDate actdate)");
for(int i = 0; i < NUMDAYS; i++) {
@@ -290,3 +290,3 @@ void KODayMatrix::updateView(QDate actdate)
}
- //qDebug("restart Timer %d vis: %d", mDayChanged, isVisible() );
+ qDebug("restart Timer %d vis: %d", mDayChanged, isVisible() );
if ( !isVisible() ) {
@@ -295,7 +295,7 @@ void KODayMatrix::updateView(QDate actdate)
#ifdef DESKTOP_VERSION
- mRepaintTimer->start( 250 );
- mUpdateTimer->start( 2000 );
+ //mRepaintTimer->start( 250 );
+ mUpdateTimer->start( 250 );
#else
- mRepaintTimer->start( 350 );
- mUpdateTimer->start( 4000 );
+ mRepaintTimer->start( 350 );
+ mUpdateTimer->start( 2000 );
#endif
@@ -491,4 +491,4 @@ void KODayMatrix::paintEvent(QPaintEvent * pevent)
if ( mPendingUpdateBeforeRepaint ) {
- updateViewTimed();
- mPendingUpdateBeforeRepaint = false;
+ updateViewTimed();
+ mPendingUpdateBeforeRepaint = false;
}
diff --git a/korganizer/kotodoviewitem.cpp b/korganizer/kotodoviewitem.cpp
index 1edddac..6bdee18 100644
--- a/korganizer/kotodoviewitem.cpp
+++ b/korganizer/kotodoviewitem.cpp
@@ -210,2 +210,6 @@ void KOTodoViewItem::stateChange(bool state)
}
+ if ( mTodo->isCompleted() == state ) {
+ //qDebug("STATECHANGE:nothing to do ");
+ return;
+ }
QString keyd = "==";