summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--library/qpeapplication.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/library/qpeapplication.h b/library/qpeapplication.h
index 9ea7e9d..8c85ad0 100644
--- a/library/qpeapplication.h
+++ b/library/qpeapplication.h
@@ -203,6 +203,10 @@ extern Q_EXPORT QRect qt_maxWindowRect;
203 203
204inline void QPEApplication::showWidget( QWidget* wg, bool nomax ) 204inline void QPEApplication::showWidget( QWidget* wg, bool nomax )
205{ 205{
206 if ( wg->isVisible() )
207 wg->show();
208 else
209 {
206 if ( !nomax 210 if ( !nomax
207 && ( qApp->desktop()->width() <= 320 ) ) 211 && ( qApp->desktop()->width() <= 320 ) )
208 { 212 {
@@ -225,6 +229,7 @@ inline void QPEApplication::showWidget( QWidget* wg, bool nomax )
225 wg->show(); 229 wg->show();
226 } 230 }
227} 231}
232}
228 233
229enum Transformation { Rot0, Rot90, Rot180, Rot270 }; /* from qgfxtransformed_qws.cpp */ 234enum Transformation { Rot0, Rot90, Rot180, Rot270 }; /* from qgfxtransformed_qws.cpp */
230 235