diff options
author | Mårten Nordheim <marten.nordheim@qt.io> | 2017-09-04 10:33:26 +0200 |
---|---|---|
committer | Mårten Nordheim <marten.nordheim@qt.io> | 2017-09-22 14:51:48 +0000 |
commit | 7ef515b5c0b212d865168b64519902b35c0215fd (patch) | |
tree | 8384aa7c729ab73f89435502fd260f8b87c584f8 /examples/corelib/ipc/localfortuneserver/server.h | |
parent | ce019efb5cfcc0bce516a761be4295c568994a31 (diff) |
Modernize the Local Fortune Client and Server examples
Task-number: QTBUG-60625
Change-Id: I8ae77b782b580baf84cd5f353f8d584f674fb014
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
Diffstat (limited to 'examples/corelib/ipc/localfortuneserver/server.h')
-rw-r--r-- | examples/corelib/ipc/localfortuneserver/server.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/corelib/ipc/localfortuneserver/server.h b/examples/corelib/ipc/localfortuneserver/server.h index c77b4e8127..6b90ba5932 100644 --- a/examples/corelib/ipc/localfortuneserver/server.h +++ b/examples/corelib/ipc/localfortuneserver/server.h @@ -64,14 +64,12 @@ class Server : public QDialog Q_OBJECT public: - Server(QWidget *parent = 0); + explicit Server(QWidget *parent = nullptr); private slots: void sendFortune(); private: - QLabel *statusLabel; - QPushButton *quitButton; QLocalServer *server; QStringList fortunes; }; |