ToastFreeware
/
toast
/
confclerk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
525e2e2
)
Replaced "130" by s.width() when centering the date.
author
Philipp Spitzer
<philipp@spitzer.priv.at>
Wed, 13 Jul 2011 18:33:08 +0000
(18:33 +0000)
committer
Philipp Spitzer
<philipp@spitzer.priv.at>
Wed, 13 Jul 2011 18:33:08 +0000
(18:33 +0000)
src/gui/daynavigatorwidget.cpp
patch
|
blob
|
history
diff --git
a/src/gui/daynavigatorwidget.cpp
b/src/gui/daynavigatorwidget.cpp
index 0f416f2f6b46cb9f9af217d7a6c9c431c72d1f67..9424ef15085d61f74a3343504871ba3ec03a4470 100644
(file)
--- a/
src/gui/daynavigatorwidget.cpp
+++ b/
src/gui/daynavigatorwidget.cpp
@@
-117,7
+117,7
@@
void DayNavigatorWidget::paintEvent(QPaintEvent *aEvent)
QRect s = mFontMetrics->boundingRect(selectedDateStr);
QPoint p = QPoint(
r.x() + r.width()/2 - s.height()/2 - mFontMetrics->descent(),
- -
130
+ -
s.width()
);
painter.translate(r.width()/2, r.height()/2);