summaryrefslogtreecommitdiffabout
path: root/korganizer/koagenda.cpp
Side-by-side diff
Diffstat (limited to 'korganizer/koagenda.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koagenda.cpp23
1 files changed, 9 insertions, 14 deletions
diff --git a/korganizer/koagenda.cpp b/korganizer/koagenda.cpp
index 662576f..92c1cd6 100644
--- a/korganizer/koagenda.cpp
+++ b/korganizer/koagenda.cpp
@@ -87,3 +87,3 @@ MarcusBains::~MarcusBains()
{
- delete minutes;
+ //delete minutes;
}
@@ -153,6 +153,7 @@ void MarcusBains::updateLocation(bool recalculate)
y-mTimeBox->height());
-
mTimeBox->raise();
//mTimeBox->setAutoMask(true);
- minutes->start(5000,true);
+ int secs = QTime::currentTime().second();
+ qDebug("second %d ", secs );
+ minutes->start( (60 - secs +1)*1000 ,true);
}
@@ -444,3 +445,3 @@ bool KOAgenda::eventFilter_mouse(QObject *object, QMouseEvent *me)
mInvalidPixmap = false;
- qDebug("InvalidPixmap ");
+ qDebug("KO: Upsizing Pixmaps ");
computeSizes();
@@ -1278,3 +1279,3 @@ void KOAgenda::drawContents(QPainter* p, int cx, int cy, int cw, int ch)
mInvalidPixmap = false;
- qDebug("InvalidPixmap ");
+ qDebug("KO: Upsizing Pixmaps ");
computeSizes();
@@ -1419,3 +1420,3 @@ void KOAgenda::finishUpdate()
}
-
+ marcus_bains();
}
@@ -1802,3 +1803,2 @@ KOAgendaItem *KOAgenda::insertItem (Incidence *event,QDate qd,int X,int YTop,int
- marcus_bains();
@@ -1875,4 +1875,2 @@ void KOAgenda::insertMultiItem (Event *event,QDate qd,int XBegin,int XEnd,
}
-
- marcus_bains();
}
@@ -1961,3 +1959,3 @@ void KOAgenda::computeSizes()
if ( (paintPixAll->width() < cw || paintPixAll->height() < ch) && cw > 0 && ch > 0 ) {
- qDebug("paintPixAll->resize ");
+ //qDebug("paintPixAll->resize ");
paintPixAll->resize( cw, ch );
@@ -1967,3 +1965,3 @@ void KOAgenda::computeSizes()
if ( paintPix->width() < cw || paintPix->height() < ch ) {
- qDebug("paintPix->resize ");
+ //qDebug("paintPix->resize ");
paintPix->resize( cw , ch );
@@ -1973,3 +1971,2 @@ void KOAgenda::computeSizes()
checkScrollBoundaries();
- marcus_bains();
drawContentsToPainter();
@@ -2033,3 +2030,2 @@ void KOAgenda::updateConfig()
calculateWorkingHours();
- marcus_bains();
}
@@ -2126,3 +2122,2 @@ void KOAgenda::setDateList(const DateList &selectedDates)
mSelectedDates = selectedDates;
- marcus_bains();
}