From 672a1b5001069b09c8e13c7bf1488e33164461f5 Mon Sep 17 00:00:00 2001 From: Olivier Teuliere Date: Wed, 24 Jun 2020 17:03:44 +0200 Subject: [PATCH] Fix an intermittent crash with Qt5 All the credit for this fix goes to Nam Guyen. --- THANKS | 1 + qt/main.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/THANKS b/THANKS index 1bbee6c..c5023e2 100644 --- a/THANKS +++ b/THANKS @@ -8,6 +8,7 @@ Hervé Bohbot - Italian, Norwegian and Jean-Jacques Méric - Bambara dictionary Jean-Marc Falcoz - English dictionaries Joan Montané - Catalan and Spanish dictionaries, Catalan and Spanish translations, Win32 InnoSetup-base installer +Nam Nguyen - Bug fix in qt5 initialization Pavel Fric - Czech translation Salvador Rodriguez - ODS5 without conjugations Switchu Legitri - Indonesian translation diff --git a/qt/main.cpp b/qt/main.cpp index 5688172..da05442 100644 --- a/qt/main.cpp +++ b/qt/main.cpp @@ -54,7 +54,7 @@ static void bt_sighandler(int); class MyApplication : public QApplication { public: - MyApplication(int argc, char **argv) + MyApplication(int &argc, char **argv) : QApplication(argc, argv) {}