diff options
author | Addison Elliott <addison.elliott@gmail.com> | 2016-12-14 01:01:58 -0600 |
---|---|---|
committer | Addison Elliott <addison.elliott@gmail.com> | 2016-12-22 15:00:23 +0000 |
commit | 5319da1f6d3707ca1d1dca6a026d9a34f6e47b61 (patch) | |
tree | fb9aae4b0a9d74275b3d8d16ecb261f46cb5cae8 /tests/auto/widgets/util/qsystemtrayicon/tst_qsystemtrayicon.cpp | |
parent | 04fbca3c91b58f1c3a212b234d238053d01f441a (diff) |
Update Widgets/Util Tests to Qt5 Connection Syntax
Many of the tests still use the old connection signal/slot syntax for
tests. Since I recently made a change to one of the tests within the
Widgets/Util folder, I went through and updated the entire folder to the
Qt-5 connection syntax.
Change-Id: Iaaa5a38858eed41fbc897b66ef291f08458505f1
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'tests/auto/widgets/util/qsystemtrayicon/tst_qsystemtrayicon.cpp')
-rw-r--r-- | tests/auto/widgets/util/qsystemtrayicon/tst_qsystemtrayicon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/widgets/util/qsystemtrayicon/tst_qsystemtrayicon.cpp b/tests/auto/widgets/util/qsystemtrayicon/tst_qsystemtrayicon.cpp index 616898c4c5..5acaf49e6c 100644 --- a/tests/auto/widgets/util/qsystemtrayicon/tst_qsystemtrayicon.cpp +++ b/tests/auto/widgets/util/qsystemtrayicon/tst_qsystemtrayicon.cpp @@ -118,7 +118,7 @@ void tst_QSystemTrayIcon::supportsMessages() void tst_QSystemTrayIcon::lastWindowClosed() { - QSignalSpy spy(qApp, SIGNAL(lastWindowClosed())); + QSignalSpy spy(qApp, &QApplication::lastWindowClosed); QWidget window; QSystemTrayIcon icon; icon.setIcon(QIcon("whatever.png")); |