diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-11-26 15:04:33 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-12-03 15:03:26 +0000 |
commit | de7d2eb2adcdee82e48b04945aca87d455e65f9f (patch) | |
tree | eda61c798ead964b18b485741659ab65a3f500b9 /examples/network/fortuneclient/main.cpp | |
parent | d93a4158e0758541717bb90fce30c2f78b66de34 (diff) |
Polish the fortune server/client examples.
- Remove Qt::WindowContextHelpButtonHint.
- Make the server label interactive (enable copy).
- Introduce new connection syntax.
- Remove unneeded member variables.
- Use constructor initialization where appropriate.
- Adapt the layout to fullscreen platforms by wrapping it
into a QGroupBox.
Change-Id: I6e397ad082f22ba1e99fc5a17440b2be1f9584f6
Reviewed-by: Topi Reiniƶ <topi.reinio@theqtcompany.com>
Diffstat (limited to 'examples/network/fortuneclient/main.cpp')
-rw-r--r-- | examples/network/fortuneclient/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/network/fortuneclient/main.cpp b/examples/network/fortuneclient/main.cpp index 2c02dcbaa6..66fff7a374 100644 --- a/examples/network/fortuneclient/main.cpp +++ b/examples/network/fortuneclient/main.cpp @@ -44,6 +44,7 @@ int main(int argc, char *argv[]) { QApplication app(argc, argv); + QGuiApplication::setApplicationDisplayName(Client::tr("Fortune Client")); Client client; client.show(); return app.exec(); |