From 97770e5875595fc3d804c2adeaca2396608ca624 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 11 Apr 2012 16:56:44 +0000 Subject: Fix a crash. Apparently. git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4162 a436a847-0d15-0410-975c-d299462d15a1 --- src/qt4_in_gtk2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qt4_in_gtk2.cpp b/src/qt4_in_gtk2.cpp index 453af02..eb2469a 100644 --- a/src/qt4_in_gtk2.cpp +++ b/src/qt4_in_gtk2.cpp @@ -137,7 +137,7 @@ suil_wrapper_new(SuilHost* host, SuilQtWrapper* const wrap = SUIL_QT_WRAPPER( g_object_new(SUIL_TYPE_QT_WRAPPER, NULL)); - int argc = 0; + static int argc = 0; wrap->app = new QApplication(argc, NULL, true); wrapper->impl = wrap; -- cgit v1.2.1