Fix crash when running debug build; use QString instead of C string
[multypo.git] / qt / main.cpp
index 5b778571fb21ddccdbe78cab30b16ab032568ef1..281bc971d6aa837a39cfd9a782a2a2f105f18a44 100644 (file)
@@ -12,7 +12,7 @@ MultiKBD *window;
 class QMyApplication : public QApplication
 {
 public:
-       QMyApplication(int argc, char **argv)
+       QMyApplication(int &argc, char **argv)
                : QApplication(argc, argv) {}
 
        virtual bool x11EventFilter ( XEvent * event );