summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koagenda.cpp14
-rw-r--r--korganizer/koagenda.h1
-rw-r--r--korganizer/koagendaview.cpp2
3 files changed, 12 insertions, 5 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 ) {
diff --git a/korganizer/koagenda.h b/korganizer/koagenda.h
index 59e7472..380ce62 100644
--- a/korganizer/koagenda.h
+++ b/korganizer/koagenda.h
@@ -130,2 +130,3 @@ class KOAgenda : public QScrollView
QTime getEndTime();
+ bool invalidPixmap();
diff --git a/korganizer/koagendaview.cpp b/korganizer/koagendaview.cpp
index 04f30bb..f5a3a4b 100644
--- a/korganizer/koagendaview.cpp
+++ b/korganizer/koagendaview.cpp
@@ -605,3 +605,3 @@ void KOAgendaView::slotIdleTimeout()
}
- qDebug("KO: Downsizing Pixmaps ");
+ qDebug("KO: Downsizing Pixmaps %s",QDateTime::currentDateTime().toString().latin1());
mAgenda->shrinkPixmap();