summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkh1 <qt-info@nokia.com>2011-03-04 16:53:16 +0100
committerkh1 <qt-info@nokia.com>2011-03-07 10:02:08 +0100
commit76122d63eced0b083e3c2e701c069aa2a8db360f (patch)
treea7a2a9495b050dc7dd3a7c65dbf355c77187e205
parenta61aaf49bea09e31378aad03ca6920d7e2b5f3f8 (diff)
Use a gui application to prevent crash.
We can't use a core application here, as in case of we can't connect to the update server, we would try to pop up a message box. This fails and crashes cause we have no gui application.
-rw-r--r--installerbuilder/installerbase/installerbase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/installerbuilder/installerbase/installerbase.cpp b/installerbuilder/installerbase/installerbase.cpp
index f6f92f0cc..88de96a57 100644
--- a/installerbuilder/installerbase/installerbase.cpp
+++ b/installerbuilder/installerbase/installerbase.cpp
@@ -136,7 +136,7 @@ int main(int argc, char *argv[])
try {
{
- QCoreApplication app(argc, argv);
+ QApplication app(argc, argv);
const QStringList args = app.arguments();
// this isthe FSEngineServer as an admin rights process upon request: