diff options
author | Oswald Buddenhagen <oswald.buddenhagen@digia.com> | 2013-08-19 18:54:38 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-08-27 13:34:22 +0200 |
commit | 68ff41016f2d13ebd389073eed505edd9834c79c (patch) | |
tree | a49df6a900c8e5d398de8865c6813acd963f1ee5 | |
parent | 33ad65e65092a15c8c9937cb6548b6e4446fbdf3 (diff) | |
download | qttools-68ff41016f2d13ebd389073eed505edd9834c79c.tar.gz |
fix arguments of main() in test data
not that it would matter, but ...
Change-Id: I798eb118e623cf22c7288cda7b5d806eba8a6065
Reviewed-by: hjk <hjk121@nokiamail.com>
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/linguist/lupdate/testdata/good/from_subdir/src/main.cpp b/tests/auto/linguist/lupdate/testdata/good/from_subdir/src/main.cpp index d3d693668..7d508faff 100644 --- a/tests/auto/linguist/lupdate/testdata/good/from_subdir/src/main.cpp +++ b/tests/auto/linguist/lupdate/testdata/good/from_subdir/src/main.cpp @@ -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"); } diff --git a/tests/auto/linguist/lupdate/testdata/good/parsecpp/excluded.cpp b/tests/auto/linguist/lupdate/testdata/good/parsecpp/excluded.cpp index 8056a6f3c..2d1b1443b 100644 --- a/tests/auto/linguist/lupdate/testdata/good/parsecpp/excluded.cpp +++ b/tests/auto/linguist/lupdate/testdata/good/parsecpp/excluded.cpp @@ -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"); } diff --git a/tests/auto/linguist/lupdate/testdata/good/parsecpp/main.cpp b/tests/auto/linguist/lupdate/testdata/good/parsecpp/main.cpp index 54781ba9f..f07b85596 100644 --- a/tests/auto/linguist/lupdate/testdata/good/parsecpp/main.cpp +++ b/tests/auto/linguist/lupdate/testdata/good/parsecpp/main.cpp @@ -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); } |