normalize signal/slot
This commit is contained in:
parent
8079a195f5
commit
f552ba47dc
2 changed files with 3 additions and 3 deletions
|
@ -151,7 +151,7 @@ void TestVirtualDesktop::init()
|
|||
QVERIFY(windowManagementSpy.wait());
|
||||
m_windowManagement = registry.createPlasmaWindowManagement(windowManagementSpy.first().first().value<quint32>(), windowManagementSpy.first().last().value<quint32>(), this);
|
||||
|
||||
QSignalSpy windowSpy(m_windowManagement, SIGNAL(windowCreated(KWayland::Client::PlasmaWindow *)));
|
||||
QSignalSpy windowSpy(m_windowManagement, SIGNAL(windowCreated(KWayland::Client::PlasmaWindow*)));
|
||||
QVERIFY(windowSpy.isValid());
|
||||
m_windowInterface = m_windowManagementInterface->createWindow(this);
|
||||
m_windowInterface->setPid(1337);
|
||||
|
|
|
@ -159,7 +159,7 @@ void TestWindowManagement::init()
|
|||
QVERIFY(windowManagementSpy.wait());
|
||||
m_windowManagement = m_registry->createPlasmaWindowManagement(windowManagementSpy.first().first().value<quint32>(), windowManagementSpy.first().last().value<quint32>(), this);
|
||||
|
||||
QSignalSpy windowSpy(m_windowManagement, SIGNAL(windowCreated(KWayland::Client::PlasmaWindow *)));
|
||||
QSignalSpy windowSpy(m_windowManagement, SIGNAL(windowCreated(KWayland::Client::PlasmaWindow*)));
|
||||
QVERIFY(windowSpy.isValid());
|
||||
m_windowInterface = m_windowManagementInterface->createWindow(this);
|
||||
m_windowInterface->setPid(1337);
|
||||
|
@ -637,7 +637,7 @@ void TestWindowManagement::testPid()
|
|||
|
||||
//test server not setting a PID for whatever reason
|
||||
QScopedPointer<KWayland::Server::PlasmaWindowInterface> newWindowInterface(m_windowManagementInterface->createWindow(this));
|
||||
QSignalSpy windowSpy(m_windowManagement, SIGNAL(windowCreated(KWayland::Client::PlasmaWindow *)));
|
||||
QSignalSpy windowSpy(m_windowManagement, SIGNAL(windowCreated(KWayland::Client::PlasmaWindow*)));
|
||||
QVERIFY(windowSpy.wait());
|
||||
QScopedPointer<PlasmaWindow> newWindow( windowSpy.first().first().value<KWayland::Client::PlasmaWindow *>());
|
||||
QVERIFY(newWindow);
|
||||
|
|
Loading…
Reference in a new issue