summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/networksetup/main.cpp2
-rw-r--r--noncore/settings/networksettings/main.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/noncore/net/networksetup/main.cpp b/noncore/net/networksetup/main.cpp
index 52cb92b..a9d1a87 100644
--- a/noncore/net/networksetup/main.cpp
+++ b/noncore/net/networksetup/main.cpp
@@ -2,12 +2,12 @@
#include <qpe/qpeapplication.h>
int main(int argc, char **argv)
{
QPEApplication app(argc, argv);
MainWindowImp window;
- window.showMaximized();
+ app.showMainWidget(&window);
return app.exec();
}
// main.cpp
diff --git a/noncore/settings/networksettings/main.cpp b/noncore/settings/networksettings/main.cpp
index 52cb92b..a9d1a87 100644
--- a/noncore/settings/networksettings/main.cpp
+++ b/noncore/settings/networksettings/main.cpp
@@ -2,12 +2,12 @@
#include <qpe/qpeapplication.h>
int main(int argc, char **argv)
{
QPEApplication app(argc, argv);
MainWindowImp window;
- window.showMaximized();
+ app.showMainWidget(&window);
return app.exec();
}
// main.cpp