summaryrefslogtreecommitdiffstats
path: root/examples/widgets/tutorials/notepad/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/tutorials/notepad/main.cpp')
-rw-r--r--examples/widgets/tutorials/notepad/main.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/widgets/tutorials/notepad/main.cpp b/examples/widgets/tutorials/notepad/main.cpp
index 20bcdaa7df9..af5b09eedc5 100644
--- a/examples/widgets/tutorials/notepad/main.cpp
+++ b/examples/widgets/tutorials/notepad/main.cpp
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2017 The Qt Company Ltd.
+** Copyright (C) 2022 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the documentation of the Qt Toolkit.
@@ -49,13 +49,13 @@
****************************************************************************/
#include "notepad.h"
+
#include <QApplication>
int main(int argc, char *argv[])
{
- QApplication EditorApp(argc, argv);
- Notepad Editor;
- Editor.show();
-
- return EditorApp.exec();
+ QApplication a(argc, argv);
+ Notepad w;
+ w.show();
+ return a.exec();
}