-rw-r--r-- | core/pim/today/today.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp index 0b61bf8..d0cdd18 100644 --- a/core/pim/today/today.cpp +++ b/core/pim/today/today.cpp | |||
@@ -140,27 +140,19 @@ void Today::init() { | |||
140 | 140 | ||
141 | if ( layout ) { | 141 | if ( layout ) { |
142 | delete layout; | 142 | delete layout; |
143 | } | 143 | } |
144 | 144 | ||
145 | if ( m_hideBanner ) { | 145 | if ( m_hideBanner ) { |
146 | Opiezilla->hide(); | 146 | Opiezilla->hide(); |
147 | TodayLabel->hide(); | 147 | TodayLabel->hide(); |
148 | Frame->setMaximumHeight( 18 ); | ||
149 | Frame->setMinimumHeight( 18 ); | ||
150 | DateLabel->setGeometry( QRect( 10, 2, 168, 12 ) ); | ||
151 | ConfigButton->setGeometry( QRect( QApplication::desktop()->width()-20, 0, 25, 20 ) ); | ||
152 | } else { | 148 | } else { |
153 | Opiezilla->show(); | 149 | Opiezilla->show(); |
154 | TodayLabel->show(); | 150 | TodayLabel->show(); |
155 | Frame->setMaximumHeight( 50 ); | ||
156 | Frame->setMinimumHeight( 50 ); | ||
157 | DateLabel->setGeometry( QRect( 10, 35, 168, 12 ) ); | ||
158 | ConfigButton->setGeometry( QRect( QApplication::desktop()->width()-80, 29, 25, 20 ) ); | ||
159 | } | 151 | } |
160 | 152 | ||
161 | layout = new QVBoxLayout( this ); | 153 | layout = new QVBoxLayout( this ); |
162 | layout->addWidget( Frame ); | 154 | layout->addWidget( Frame ); |
163 | layout->addWidget( OwnerField ); | 155 | layout->addWidget( OwnerField ); |
164 | } | 156 | } |
165 | 157 | ||
166 | /** | 158 | /** |