summaryrefslogtreecommitdiff
path: root/library
Side-by-side diff
Diffstat (limited to 'library') (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
@@ -204,4 +204,8 @@ extern Q_EXPORT QRect qt_maxWindowRect;
inline void QPEApplication::showWidget( QWidget* wg, bool nomax )
{
+ if ( wg->isVisible() )
+ wg->show();
+ else
+ {
if ( !nomax
&& ( qApp->desktop()->width() <= 320 ) )
@@ -226,4 +230,5 @@ inline void QPEApplication::showWidget( QWidget* wg, bool nomax )
}
}
+}
enum Transformation { Rot0, Rot90, Rot180, Rot270 }; /* from qgfxtransformed_qws.cpp */