fix arguments of main() in test data
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>
Mon, 19 Aug 2013 16:54:38 +0000 (18:54 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 27 Aug 2013 11:34:22 +0000 (13:34 +0200)
not that it would matter, but ...

Change-Id: I798eb118e623cf22c7288cda7b5d806eba8a6065
Reviewed-by: hjk <hjk121@nokiamail.com>
tests/auto/linguist/lupdate/testdata/good/from_subdir/src/main.cpp
tests/auto/linguist/lupdate/testdata/good/parsecpp/excluded.cpp
tests/auto/linguist/lupdate/testdata/good/parsecpp/main.cpp

index d3d6936..7d508fa 100644 (file)
@@ -44,7 +44,7 @@
 
 #include "main.h"
 
-int main(char **argv, int argc)
+int main(int argc, char **argv)
 {
      return QApplication::tr("string in main.cpp");
 }
index 8056a6f..2d1b144 100644 (file)
@@ -39,7 +39,7 @@
 **
 ****************************************************************************/
 
-int main(char **argv, int argc)
+int main(int argc, char **argv)
 {
      QString fake = QApplication::tr("fake", "This message will not be collected");
 }
index 54781ba..f07b855 100644 (file)
@@ -41,7 +41,7 @@
 
 // IMPORTANT!!!! If you want to add testdata to this file,
 // always add it to the end in order to not change the linenumbers of translations!!!
-int main(char **argv, int argc)
+int main(int argc, char **argv)
 {
     Size size = QSize(1,1);
 }