diff options
author | Kai Koehne <kai.koehne@qt.io> | 2017-09-12 16:14:09 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2017-10-04 09:31:39 +0000 |
commit | bca0d910b3b1f8454b60a5d6420a2ac836ecdedb (patch) | |
tree | 61f20e095bbb131847b779ebe260e177361825d1 /examples | |
parent | a20b68a6735a9191fe18860b29689371d06a5586 (diff) | |
download | qttools-bca0d910b3b1f8454b60a5d6420a2ac836ecdedb.tar.gz |
RemoteControl example: Remove superfluous connect
quitOnLastWindowClosed is the default.
Change-Id: Ic2afbef731895f2fce17050655d11facd51736ab
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/assistant/remotecontrol/main.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/assistant/remotecontrol/main.cpp b/examples/assistant/remotecontrol/main.cpp index 3ab883268..f6c63d3f1 100644 --- a/examples/assistant/remotecontrol/main.cpp +++ b/examples/assistant/remotecontrol/main.cpp @@ -59,6 +59,5 @@ int main(int argc, char *argv[]) QApplication a(argc, argv); RemoteControl w; w.show(); - a.connect(&a, SIGNAL(lastWindowClosed()), &a, SLOT(quit())); return a.exec(); } |