summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-11 16:56:44 +0000
committerDavid Robillard <d@drobilla.net>2012-04-11 16:56:44 +0000
commit97770e5875595fc3d804c2adeaca2396608ca624 (patch)
tree325d2a1d11b2aa1b8c0a827aaa7236bcaff06a6b
parentf6263cffe3289c8d8c1566195fbf0f4d14ffdc27 (diff)
downloadsuil-97770e5875595fc3d804c2adeaca2396608ca624.tar.gz
suil-97770e5875595fc3d804c2adeaca2396608ca624.tar.bz2
suil-97770e5875595fc3d804c2adeaca2396608ca624.zip
Fix a crash. Apparently.
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4162 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/qt4_in_gtk2.cpp2
1 files changed, 1 insertions, 1 deletions
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;