summaryrefslogtreecommitdiffstats
path: root/examples/tutorials/gettingStarted/gsQt/part3/main.cpp
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2012-05-09 17:56:47 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-10 09:16:35 +0200
commit7f2c22e8910f43728f13d76aa2c50c29a19f3ee0 (patch)
treeaaef16c1747d5d1d5e1985affaa2b39795728763 /examples/tutorials/gettingStarted/gsQt/part3/main.cpp
parent5f43422ddf38e48f56b2ef39ee19bec2cb430ac4 (diff)
gettingStarted, part 3-5: sanitize parameter names and compile fix
Change-Id: I12795439de71a41728f98b3d3438324664b27a0f Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'examples/tutorials/gettingStarted/gsQt/part3/main.cpp')
-rw-r--r--examples/tutorials/gettingStarted/gsQt/part3/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/tutorials/gettingStarted/gsQt/part3/main.cpp b/examples/tutorials/gettingStarted/gsQt/part3/main.cpp
index 4967f6db2f..db3eba7e4a 100644
--- a/examples/tutorials/gettingStarted/gsQt/part3/main.cpp
+++ b/examples/tutorials/gettingStarted/gsQt/part3/main.cpp
@@ -83,9 +83,9 @@ void Notepad::quit()
qApp->quit();
}
-int main(int argv, char **args)
+int main(int argc, char **argv)
{
- QApplication app(argv, args);
+ QApplication app(argc, argv);
Notepad notepad;
notepad.show();