Commit c7c35513 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Port TestTabBoxClientModel away from deprecated QWeakPointer::data()

parent a1fe70ba
......@@ -74,7 +74,7 @@ void TestTabBoxClientModel::testCreateClientListActiveClientNotInFocusChain()
// for that we use the closeWindow of the MockTabBoxHandler which
// removes the Client from the Focus Chain but leaves the active window as it is
QSharedPointer<TabBox::TabBoxClient> clientOwner = client.toStrongRef();
tabboxhandler.closeWindow(client.data());
tabboxhandler.closeWindow(clientOwner.data());
clientModel->createClientList();
QCOMPARE(clientModel->rowCount(), 1);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment