author | zecke <zecke> | 2004-10-20 16:57:01 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-10-20 16:57:01 (UTC) |
commit | 00d6b8c56872b798befc0de673c20e8be508491d (patch) (unidiff) | |
tree | f7a1d9b309611d871264017b904e1a3006189ac8 /core | |
parent | 4f9e547592286caa541042454cf7815aa42f2e11 (diff) | |
download | opie-00d6b8c56872b798befc0de673c20e8be508491d.zip opie-00d6b8c56872b798befc0de673c20e8be508491d.tar.gz opie-00d6b8c56872b798befc0de673c20e8be508491d.tar.bz2 |
-Remove odebug
-rw-r--r-- | core/launcher/taskbar.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/core/launcher/taskbar.cpp b/core/launcher/taskbar.cpp index 63361fe..7cbfe13 100644 --- a/core/launcher/taskbar.cpp +++ b/core/launcher/taskbar.cpp | |||
@@ -265,50 +265,48 @@ void TaskBar::stopWait(const QString&) | |||
265 | } | 265 | } |
266 | 266 | ||
267 | void TaskBar::stopWait() | 267 | void TaskBar::stopWait() |
268 | { | 268 | { |
269 | waitTimer->stop(); | 269 | waitTimer->stop(); |
270 | waitIcon->setWaiting( false ); | 270 | waitIcon->setWaiting( false ); |
271 | } | 271 | } |
272 | 272 | ||
273 | /* | 273 | /* |
274 | * This resizeEvent will be captured by | 274 | * This resizeEvent will be captured by |
275 | * the ServerInterface and it'll layout | 275 | * the ServerInterface and it'll layout |
276 | * and calc rect. Now if we go from bigger | 276 | * and calc rect. Now if we go from bigger |
277 | * to smaller screen the SysTray is out of | 277 | * to smaller screen the SysTray is out of |
278 | * bounds and repaint() won't trigger an Event | 278 | * bounds and repaint() won't trigger an Event |
279 | */ | 279 | */ |
280 | void TaskBar::resizeEvent( QResizeEvent *e ) | 280 | void TaskBar::resizeEvent( QResizeEvent *e ) |
281 | { | 281 | { |
282 | if ( sysTray ) | 282 | if ( sysTray ) |
283 | sysTray->hide(); | 283 | sysTray->hide(); |
284 | 284 | ||
285 | QHBox::resizeEvent( e ); | 285 | QHBox::resizeEvent( e ); |
286 | 286 | ||
287 | if ( sysTray ) | 287 | if ( sysTray ) |
288 | sysTray->show(); | 288 | sysTray->show(); |
289 | |||
290 | owarn << "TaskBar::resize event" << oendl; | ||
291 | } | 289 | } |
292 | 290 | ||
293 | void TaskBar::styleChange( QStyle &s ) | 291 | void TaskBar::styleChange( QStyle &s ) |
294 | { | 292 | { |
295 | QHBox::styleChange( s ); | 293 | QHBox::styleChange( s ); |
296 | calcMaxWindowRect(); | 294 | calcMaxWindowRect(); |
297 | } | 295 | } |
298 | 296 | ||
299 | void TaskBar::calcMaxWindowRect() | 297 | void TaskBar::calcMaxWindowRect() |
300 | { | 298 | { |
301 | if ( resizeRunningApp ) | 299 | if ( resizeRunningApp ) |
302 | { | 300 | { |
303 | #if defined(Q_WS_QWS) | 301 | #if defined(Q_WS_QWS) |
304 | QRect wr; | 302 | QRect wr; |
305 | int displayWidth = qApp->desktop()->width(); | 303 | int displayWidth = qApp->desktop()->width(); |
306 | QRect ir = inputMethods->inputRect(); | 304 | QRect ir = inputMethods->inputRect(); |
307 | if ( ir.isValid() ) { | 305 | if ( ir.isValid() ) { |
308 | wr.setCoords( 0, 0, displayWidth-1, ir.top()-1 ); | 306 | wr.setCoords( 0, 0, displayWidth-1, ir.top()-1 ); |
309 | } else { | 307 | } else { |
310 | wr.setCoords( 0, 0, displayWidth-1, y()-1 ); | 308 | wr.setCoords( 0, 0, displayWidth-1, y()-1 ); |
311 | } | 309 | } |
312 | #if QT_VERSION < 0x030000 | 310 | #if QT_VERSION < 0x030000 |
313 | QWSServer::setMaxWindowRect( qt_screen->mapToDevice(wr,QSize(qt_screen->width(),qt_screen->height())) ); | 311 | QWSServer::setMaxWindowRect( qt_screen->mapToDevice(wr,QSize(qt_screen->width(),qt_screen->height())) ); |
314 | #else | 312 | #else |