summaryrefslogtreecommitdiff
blob: 0225968b1bf0c1df96f727b1e1eefb547125acab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
--- qt/QtApp.cxx.orig	2008-09-03 16:49:04.000000000 +0100
+++ qt/QtApp.cxx	2008-09-03 16:50:32.000000000 +0100
@@ -34,13 +34,13 @@
 
 QtApp * QtApp::s_instance = 0;
 
-QtApp::QtApp ( int argc, char** argv)
+QtApp::QtApp ( int & argc, char** argv)
   : QApplication ( argc, argv )
 {
   init ();
 }
 
-QtApp::QtApp ( int argc, char** argv, bool gui )
+QtApp::QtApp ( int & argc, char** argv, bool gui )
   : QApplication ( argc, argv, gui )
 {
   init ();
--- qt/QtApp.h.orig	2008-09-03 16:49:50.000000000 +0100
+++ qt/QtApp.h	2008-09-03 16:50:17.000000000 +0100
@@ -79,11 +79,11 @@
 
   /** A Constructor that always enables the GUI.
    */
-  QtApp ( int argc,  char ** argv );
+  QtApp ( int & argc,  char ** argv );
 
   /** A Constructor that enables the GUI optionally.
    */
-  QtApp ( int argc,  char ** argv, bool gui );
+  QtApp ( int & argc,  char ** argv, bool gui );
 
   /** The destructor.  */
   ~QtApp();