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/part5 | |
| 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/part5')
| -rw-r--r-- | examples/tutorials/gettingStarted/gsQt/part5/main.cpp | 4 | ||||
| -rw-r--r-- | examples/tutorials/gettingStarted/gsQt/part5/part5.pro | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/examples/tutorials/gettingStarted/gsQt/part5/main.cpp b/examples/tutorials/gettingStarted/gsQt/part5/main.cpp index 6d87ca7ba69..25ee5d0fbb1 100644 --- a/examples/tutorials/gettingStarted/gsQt/part5/main.cpp +++ b/examples/tutorials/gettingStarted/gsQt/part5/main.cpp @@ -120,9 +120,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/part5/part5.pro b/examples/tutorials/gettingStarted/gsQt/part5/part5.pro index 711cac212ac..4631449e714 100644 --- a/examples/tutorials/gettingStarted/gsQt/part5/part5.pro +++ b/examples/tutorials/gettingStarted/gsQt/part5/part5.pro @@ -1,4 +1,5 @@ +QT += widgets SOURCES = main.cpp # install |
