summaryrefslogtreecommitdiffstats
path: root/examples/tutorials/gettingStarted/gsQt/part1/main.cpp
diff options
context:
space:
mode:
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 fb45689cc7e..6557d0525fa 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();