summaryrefslogtreecommitdiffstats
path: root/examples/tutorials/gettingStarted/gsQt/part1/main.cpp
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2012-05-09 17:11:14 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-09 17:16:55 +0200
commitcc8d9fb85e816fc235c0343b484ff9dec61ed30c (patch)
tree9ce28405f5fcf4285a2f226f5f133b3b3ec42ff4 /examples/tutorials/gettingStarted/gsQt/part1/main.cpp
parent014ad6bf1b2fc0445933a11ab44275f0d99b8d32 (diff)
gettingStarted: sanitize parameter names and compile fix for Qt 5
Change-Id: I3f30ccee89b8add8718a9a36f0f16fa7b2e9bad1 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'examples/tutorials/gettingStarted/gsQt/part1/main.cpp')
-rw-r--r--examples/tutorials/gettingStarted/gsQt/part1/main.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/tutorials/gettingStarted/gsQt/part1/main.cpp b/examples/tutorials/gettingStarted/gsQt/part1/main.cpp
index fb45689cc7..6557d0525f 100644
--- a/examples/tutorials/gettingStarted/gsQt/part1/main.cpp
+++ b/examples/tutorials/gettingStarted/gsQt/part1/main.cpp
@@ -40,10 +40,9 @@
#include <QtWidgets>
-
-int main(int argv, char **args)
+int main(int argc, char *argv[])
{
- QApplication app(argv, args);
+ QApplication app(argc, argv);
QTextEdit textEdit;
textEdit.show();