summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2005-08-25 11:01:04 (UTC)
committer mickeyl <mickeyl>2005-08-25 11:01:04 (UTC)
commit193c968b94fd6db646af8a3588e90982a20e3fc5 (patch) (side-by-side diff)
treec3b8e484b522bb10c1a6a9f65bb72bc421ac8479
parent938d1f0a0c16a8acbd7866191d099a4054c4c3e2 (diff)
downloadopie-193c968b94fd6db646af8a3588e90982a20e3fc5.zip
opie-193c968b94fd6db646af8a3588e90982a20e3fc5.tar.gz
opie-193c968b94fd6db646af8a3588e90982a20e3fc5.tar.bz2
revert last change which made dialogs appear as small windows on 240x320 models
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--library/qpeapplication.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp
index 286c6ef..19e99f2 100644
--- a/library/qpeapplication.cpp
+++ b/library/qpeapplication.cpp
@@ -218,15 +218,15 @@ public:
if ( read_widget_rect(strName, max, p, s) && validate_widget_size(mw, p, s) ) {
mw->resize(s);
mw->move(p);
- if ( max && !nomaximize ) {
- mw->showMaximized();
- } else {
- mw->show();
+ if ( max && !nomaximize ) {
+ mw->showMaximized();
+ } else {
+ mw->show();
}
} else {
- QPEApplication::showDialog((QDialog*)mw, !nomaximize);
+ QPEApplication::showDialog((QDialog*)mw,nomaximize);
}
} else {
if ( read_widget_rect(strName, max, p, s) && validate_widget_size(mw, p, s) ) {
mw->resize(s);