-rw-r--r-- | library/qpeapplication.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp index 5ce3011..10c6c40 100644 --- a/library/qpeapplication.cpp +++ b/library/qpeapplication.cpp @@ -219,31 +219,6 @@ public: } } } -// // ugly hack, remove that later after finding a sane solution -// // Addendum: Only Sharp currently has models with high resolution but (physically) small displays, -// // so this is only useful if QT_QWS_SIMPAD is NOT defined. E.g. SIMpad has 800x600 but has -// // a (physically) large enough display to use the small icons -// #if defined(OPIE_HIGH_RES_SMALL_PHY) -// if ( QPEApplication::desktop() ->width() >= 600 && ( mw->inherits("QMainWindow") || mw->isA("QMainWindow") ) ) { -// ( ( QMainWindow* ) mw )->setUsesBigPixmaps( true ); -// } -// #endif - -// if ( mw->layout() && mw->inherits("QDialog") ) { -// QPEApplication::showDialog((QDialog*)mw, nomaximize); -// } -// else { -// #ifdef Q_WS_QWS -// if ( !nomaximize ) { -// qDebug("QDialog special case XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"); -// mw->showMaximized(); -// // QPEApplication::showWidget( mw, !nomaximize ); -// } else -// #endif -// mw->show(); -// } -// } - static void qpe_show_dialog( QDialog* d, bool nomax ) { |