From 042cbc73ecdeb8ada963ce40e757a4b84bad99e6 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Mon, 14 Jun 2010 08:15:36 +0000 Subject: [PATCH] --- src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 1a00e7c76..3b794ad04 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -339,7 +339,10 @@ int main(int argc, char *argv[]){ delete loader; #endif qDebug("Deleting app..."); +#ifndef Q_WS_WIN + // XXX: Why does it crash on Windows in QWindowsVistaStyle destructor!? delete app; +#endif qDebug("App was deleted! All good."); return ret; }