summaryrefslogtreecommitdiffabout
path: root/korganizer/koagenda.cpp
authorzautrix <zautrix>2005-08-10 11:40:52 (UTC)
committer zautrix <zautrix>2005-08-10 11:40:52 (UTC)
commit722a463b47ba8fe2dbf52329fec27af4125d530b (patch) (side-by-side diff)
tree17a000965abaf5d9fb99823893d884e7655d1348 /korganizer/koagenda.cpp
parent77c5968afa68459ca5918c98206bd9e39cf90235 (diff)
downloadkdepimpi-722a463b47ba8fe2dbf52329fec27af4125d530b.zip
kdepimpi-722a463b47ba8fe2dbf52329fec27af4125d530b.tar.gz
kdepimpi-722a463b47ba8fe2dbf52329fec27af4125d530b.tar.bz2
fix
Diffstat (limited to 'korganizer/koagenda.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koagenda.cpp14
1 files changed, 10 insertions, 4 deletions
diff --git a/korganizer/koagenda.cpp b/korganizer/koagenda.cpp
index 7e9fa71..7d9d674 100644
--- a/korganizer/koagenda.cpp
+++ b/korganizer/koagenda.cpp
@@ -111,3 +111,4 @@ void MarcusBains::updateLoc()
{
- updateLocation();
+ if ( !agenda->invalidPixmap() )
+ updateLocation();
}
@@ -443,2 +444,6 @@ void KOAgenda::categoryChanged(Incidence * inc)
}
+bool KOAgenda::invalidPixmap()
+{
+ return mInvalidPixmap;
+}
bool KOAgenda::eventFilter_mouse(QObject *object, QMouseEvent *me)
@@ -448,3 +453,3 @@ bool KOAgenda::eventFilter_mouse(QObject *object, QMouseEvent *me)
mInvalidPixmap = false;
- qDebug("KO: Upsizing Pixmaps ");
+ qDebug("KO: efm Upsizing Pixmaps %s", QDateTime::currentDateTime().toString().latin1());
computeSizes();
@@ -1283,3 +1288,3 @@ void KOAgenda::drawContents(QPainter* p, int cx, int cy, int cw, int ch)
mInvalidPixmap = false;
- qDebug("KO: Upsizing Pixmaps ");
+ qDebug("KO: dc Upsizing Pixmaps %s", QDateTime::currentDateTime().toString().latin1());
computeSizes();
@@ -1287,3 +1292,4 @@ void KOAgenda::drawContents(QPainter* p, int cx, int cy, int cw, int ch)
return;
- }
+ }
+ //qDebug("KOAgenda::drawContents %s", QDateTime::currentDateTime().toString().latin1());
if ( ! mAllDayMode ) {