-rw-r--r-- | noncore/net/networksetup/main.cpp | 2 | ||||
-rw-r--r-- | noncore/settings/networksettings/main.cpp | 2 |
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 @@ -1,13 +1,13 @@ #include "mainwindowimp.h"
#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 @@ -1,13 +1,13 @@ #include "mainwindowimp.h"
#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
|