diff options
| author | hjk <qtc-committer@nokia.com> | 2012-05-09 17:56:47 +0200 |
|---|---|---|
| committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-10 09:16:35 +0200 |
| commit | 7f2c22e8910f43728f13d76aa2c50c29a19f3ee0 (patch) | |
| tree | aaef16c1747d5d1d5e1985affaa2b39795728763 /examples/tutorials/gettingStarted/gsQt/part4 | |
| parent | 5f43422ddf38e48f56b2ef39ee19bec2cb430ac4 (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/part4')
| -rw-r--r-- | examples/tutorials/gettingStarted/gsQt/part4/main.cpp | 4 | ||||
| -rw-r--r-- | examples/tutorials/gettingStarted/gsQt/part4/part4.pro | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/examples/tutorials/gettingStarted/gsQt/part4/main.cpp b/examples/tutorials/gettingStarted/gsQt/part4/main.cpp index ca4e7dcbfbf..f5ec5bea5ec 100644 --- a/examples/tutorials/gettingStarted/gsQt/part4/main.cpp +++ b/examples/tutorials/gettingStarted/gsQt/part4/main.cpp @@ -94,9 +94,9 @@ void Notepad::save() } -int main(int argv, char **args) +int main(int argc, char **argv) { - QApplication app(argv, args); + QApplication app(argc, argv); Notepad notepad; notepad.show(); diff --git a/examples/tutorials/gettingStarted/gsQt/part4/part4.pro b/examples/tutorials/gettingStarted/gsQt/part4/part4.pro index 3de03accc00..94c7abdf39f 100644 --- a/examples/tutorials/gettingStarted/gsQt/part4/part4.pro +++ b/examples/tutorials/gettingStarted/gsQt/part4/part4.pro @@ -1,4 +1,5 @@ +QT += widgets SOURCES = main.cpp # install |
