summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show 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
@@ -5,7 +5,7 @@ int main(int argc, char **argv)
{
QPEApplication app(argc, argv);
MainWindowImp window;
- window.showMaximized();
+ app.showMainWidget(&window);
return app.exec();
}
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
@@ -5,7 +5,7 @@ int main(int argc, char **argv)
{
QPEApplication app(argc, argv);
MainWindowImp window;
- window.showMaximized();
+ app.showMainWidget(&window);
return app.exec();
}