diff options
author | hjk <qtc-committer@nokia.com> | 2012-05-10 10:35:51 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-10 10:59:29 (GMT) |
commit | 9ed7b04de7e607755fd47c917a5970e00bd9136e (patch) | |
tree | e1d7271e454fbac0f4841a2d6444fd061ac07f28 /examples/tutorials/gettingStarted/gsQt/part2/main.cpp | |
parent | c5e2c6ff19e816d45f0763d7339b7856080407f0 (diff) | |
download | Qt-9ed7b04de7e607755fd47c917a5970e00bd9136e.zip Qt-9ed7b04de7e607755fd47c917a5970e00bd9136e.tar.gz Qt-9ed7b04de7e607755fd47c917a5970e00bd9136e.tar.bz2 |
getting started: better names for main() arguments
Change-Id: Ibc9cdd89503fc085ed0441ff34cbe2f729e67066
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'examples/tutorials/gettingStarted/gsQt/part2/main.cpp')
-rw-r--r-- | examples/tutorials/gettingStarted/gsQt/part2/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/tutorials/gettingStarted/gsQt/part2/main.cpp b/examples/tutorials/gettingStarted/gsQt/part2/main.cpp index 40af868..9279a9d 100644 --- a/examples/tutorials/gettingStarted/gsQt/part2/main.cpp +++ b/examples/tutorials/gettingStarted/gsQt/part2/main.cpp @@ -40,9 +40,9 @@ #include <QtGui> -int main(int argv, char **args) +int main(int argc, char **argv) { - QApplication app(argv, args); + QApplication app(argc, argv); QTextEdit *textEdit = new QTextEdit; QPushButton *quitButton = new QPushButton("&Quit"); |