diff options
Diffstat (limited to 'tests/manual/debugger/spacy path/app with space.cpp')
-rw-r--r-- | tests/manual/debugger/spacy path/app with space.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/manual/debugger/spacy path/app with space.cpp b/tests/manual/debugger/spacy path/app with space.cpp index af7226bbc3..1dfa82c0ef 100644 --- a/tests/manual/debugger/spacy path/app with space.cpp +++ b/tests/manual/debugger/spacy path/app with space.cpp @@ -222,8 +222,8 @@ void testObject(int &argc, char *argv[]) QObject ob1; ob1.setObjectName("Another Object"); - QObject::connect(&ob, SIGNAL(destroyed()), &ob1, SLOT(deleteLater())); - QObject::connect(&app, SIGNAL(lastWindowClosed()), &ob, SLOT(deleteLater())); + QObject::connect(&ob, &QObject::destroyed, &ob1, &QObject::deleteLater); + QObject::connect(&app, &QGuiApplication::lastWindowClosed, &ob, &QObject::deleteLater); QList<QObject *> obs; obs.append(&ob); |