summaryrefslogtreecommitdiffstats
path: root/src/gui/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/main.cpp')
-rw-r--r--src/gui/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/main.cpp b/src/gui/main.cpp
index 81ba28f..f93d352 100644
--- a/src/gui/main.cpp
+++ b/src/gui/main.cpp
@@ -503,7 +503,7 @@ QApplication *create_user_interface(bool cli_mode, int argc, char **argv, QTrans
// Add the KDE factory
Q3MimeSourceFactory::addFactory(factory_kde);
#else
- int tmp = argc;
+ static int tmp = argc;
qa = new t_twinkle_application(tmp, argv);
MEMMAN_NEW(qa);
#endif