- Timestamp:
- 12/12/11 23:04:03 (11 years ago)
- Branches:
- master, qt5
- Children:
- c728494
- Parents:
- 71c3eb6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gui/daynavigatorwidget.cpp
r71c3eb6 r4383ab5 106 106 107 107 108 void DayNavigatorWidget::paintEvent(QPaintEvent *aEvent) 109 { 108 void DayNavigatorWidget::paintEvent(QPaintEvent *aEvent) { 110 109 Q_UNUSED(aEvent); 111 110 … … 115 114 116 115 // rectangle only for the text 117 int marginSize = 9; 118 int buttonSize = 32; 119 #ifdef MAEMO 120 QRect q(y()-height()+1*marginSize+2.5*buttonSize, x(), height()-2*marginSize-2.5*buttonSize, width()); 121 #else 122 QRect q(y()-height()+1*marginSize+2*buttonSize, x(), height()-2*marginSize-3*buttonSize, width()); 123 #endif 116 QRect q(-selectedDate->height()-selectedDate->y(), selectedDate->x(), selectedDate->height(), selectedDate->width()); 124 117 painter.rotate(270); 125 118
Note: See TracChangeset
for help on using the changeset viewer.