author | llornkcor <llornkcor> | 2004-04-25 08:49:01 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2004-04-25 08:49:01 (UTC) |
commit | ea4380df897798cf4bbadaf786868a18b3dee975 (patch) (unidiff) | |
tree | 14838fcf9c381d4e27bd2ad4bb2c0b759cad12b7 | |
parent | fc1f0001f53f57b625f337a68532984959e6d8dd (diff) | |
download | opie-ea4380df897798cf4bbadaf786868a18b3dee975.zip opie-ea4380df897798cf4bbadaf786868a18b3dee975.tar.gz opie-ea4380df897798cf4bbadaf786868a18b3dee975.tar.bz2 |
remove non needed qdebugs
-rw-r--r-- | library/qpeapplication.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp index ae1632e..5ce3011 100644 --- a/library/qpeapplication.cpp +++ b/library/qpeapplication.cpp | |||
@@ -303,13 +303,12 @@ static void qpe_show_dialog( QDialog* d, bool nomax ) | |||
303 | } | 303 | } |
304 | } | 304 | } |
305 | 305 | ||
306 | static bool read_widget_rect(const QString &app, bool &maximized, QPoint &p, QSize &s) | 306 | static bool read_widget_rect(const QString &app, bool &maximized, QPoint &p, QSize &s) |
307 | { | 307 | { |
308 | maximized = TRUE; | 308 | maximized = TRUE; |
309 | qDebug("read_widget_rect"); | ||
310 | // 350 is the trigger in qwsdefaultdecoration for providing a resize button | 309 | // 350 is the trigger in qwsdefaultdecoration for providing a resize button |
311 | if ( qApp->desktop()->width() <= 350 ) | 310 | if ( qApp->desktop()->width() <= 350 ) |
312 | return FALSE; | 311 | return FALSE; |
313 | 312 | ||
314 | Config cfg( "qpe" ); | 313 | Config cfg( "qpe" ); |
315 | cfg.setGroup("ApplicationPositions"); | 314 | cfg.setGroup("ApplicationPositions"); |
@@ -375,13 +374,12 @@ static void qpe_show_dialog( QDialog* d, bool nomax ) | |||
375 | 374 | ||
376 | static void store_widget_rect(QWidget *w, QString &app) | 375 | static void store_widget_rect(QWidget *w, QString &app) |
377 | { | 376 | { |
378 | // 350 is the trigger in qwsdefaultdecoration for providing a resize button | 377 | // 350 is the trigger in qwsdefaultdecoration for providing a resize button |
379 | if ( qApp->desktop()->width() <= 350 ) | 378 | if ( qApp->desktop()->width() <= 350 ) |
380 | return; | 379 | return; |
381 | qDebug("store_widget_rect"); | ||
382 | // we use these to map the offset of geometry and pos. ( we can only use normalGeometry to | 380 | // we use these to map the offset of geometry and pos. ( we can only use normalGeometry to |
383 | // get the non-maximized version, so we have to do it the hard way ) | 381 | // get the non-maximized version, so we have to do it the hard way ) |
384 | int offsetX = w->x() - w->geometry().left(); | 382 | int offsetX = w->x() - w->geometry().left(); |
385 | int offsetY = w->y() - w->geometry().top(); | 383 | int offsetY = w->y() - w->geometry().top(); |
386 | 384 | ||
387 | QRect r; | 385 | QRect r; |