summaryrefslogtreecommitdiff
path: root/library/qpeapplication.h
authorar <ar>2004-04-21 21:26:14 (UTC)
committer ar <ar>2004-04-21 21:26:14 (UTC)
commit2a04bf465c332f5e879470f7436852e2d9686083 (patch) (side-by-side diff)
tree358bdc16f9948bc954380932fd9d1c92efe4e61b /library/qpeapplication.h
parent8269dfa474065b986375de7c4fd380cbda837a12 (diff)
downloadopie-2a04bf465c332f5e879470f7436852e2d9686083.zip
opie-2a04bf465c332f5e879470f7436852e2d9686083.tar.gz
opie-2a04bf465c332f5e879470f7436852e2d9686083.tar.bz2
BigScreen: don't resize widgets that always visible (for example on bring a widget to front)
Diffstat (limited to 'library/qpeapplication.h') (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
@@ -205,2 +205,6 @@ inline void QPEApplication::showWidget( QWidget* wg, bool nomax )
{
+ if ( wg->isVisible() )
+ wg->show();
+ else
+ {
if ( !nomax
@@ -227,2 +231,3 @@ inline void QPEApplication::showWidget( QWidget* wg, bool nomax )
}
+}