-rw-r--r-- | library/qpeapplication.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/qpeapplication.h b/library/qpeapplication.h index a884046..c0f0bfc 100644 --- a/library/qpeapplication.h +++ b/library/qpeapplication.h | |||
@@ -122,7 +122,7 @@ public: | |||
122 | void showMainDocumentWidget( QWidget*, bool nomax=FALSE ); | 122 | void showMainDocumentWidget( QWidget*, bool nomax=FALSE ); |
123 | static void showDialog( QDialog*, bool nomax=FALSE ); | 123 | static void showDialog( QDialog*, bool nomax=FALSE ); |
124 | static int execDialog( QDialog*, bool nomax=FALSE ); | 124 | static int execDialog( QDialog*, bool nomax=FALSE ); |
125 | static int showWidget( QWidget*, bool nomax=FALSE ); | 125 | static void showWidget( QWidget*, bool nomax=FALSE ); |
126 | /* Merge setTempScreenSaverMode */ | 126 | /* Merge setTempScreenSaverMode */ |
127 | #ifdef QTOPIA_INTERNAL_INITAPP | 127 | #ifdef QTOPIA_INTERNAL_INITAPP |
128 | void initApp( int argv, char **argv ); | 128 | void initApp( int argv, char **argv ); |
@@ -208,7 +208,7 @@ inline int QPEApplication::execDialog( QDialog* d, bool nomax ) | |||
208 | return d->exec(); | 208 | return d->exec(); |
209 | } | 209 | } |
210 | 210 | ||
211 | inline int QPEApplication::showWidget( QWidget* wg, bool nomax ) | 211 | inline void QPEApplication::showWidget( QWidget* wg, bool nomax ) |
212 | { | 212 | { |
213 | QSize sh = wg->sizeHint(); | 213 | QSize sh = wg->sizeHint(); |
214 | int w = QMAX(sh.width(),wg->width()); | 214 | int w = QMAX(sh.width(),wg->width()); |