diff options
author | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2017-09-27 11:59:59 +0200 |
---|---|---|
committer | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2017-09-28 09:29:41 +0000 |
commit | 0731c092d107415cc300be2209cd2bfb417950e9 (patch) | |
tree | 3a7deb63db59dc795f44d00cd1a49ba1a4eea3ae /examples/network/fortuneclient/main.cpp | |
parent | 553b6ab9cd2a1628524b5a51d69f0098679079a6 (diff) |
QtNetwork (examples) - update the fortune client example
Minimal changes: Q_NULLPTR->nullptr, Type->auto where initializing expression
self documents the type actually.
Task-number: QTBUG-60628
Change-Id: I2fa784aeb30ac40c6b78e34dd58ad837ad607180
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'examples/network/fortuneclient/main.cpp')
-rw-r--r-- | examples/network/fortuneclient/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/network/fortuneclient/main.cpp b/examples/network/fortuneclient/main.cpp index e313b251ef..6b02708ce1 100644 --- a/examples/network/fortuneclient/main.cpp +++ b/examples/network/fortuneclient/main.cpp @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2016 The Qt Company Ltd. +** Copyright (C) 2017 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the examples of the Qt Toolkit. @@ -54,7 +54,7 @@ int main(int argc, char *argv[]) { QApplication app(argc, argv); - QGuiApplication::setApplicationDisplayName(Client::tr("Fortune Client")); + QApplication::setApplicationDisplayName(Client::tr("Fortune Client")); Client client; client.show(); return app.exec(); |