Commit 67bfad00 authored by David Edmundson's avatar David Edmundson

[autotests] Update virtual desktop layout after load

Summary: This matches the behaviour of workspace.cpp on initial load.

Test Plan: Test now passes

Reviewers: #kwin, zzag

Reviewed By: #kwin, zzag

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D18183
parent 9dbb74af
......@@ -298,6 +298,7 @@ void TestScreenEdges::testCreatingInitialEdges()
auto vd = VirtualDesktopManager::self();
vd->setConfig(config);
vd->load();
vd->updateLayout();
QCOMPARE(vd->count(), 4u);
QCOMPARE(vd->grid().width(), 2);
QCOMPARE(vd->grid().height(), 2);
......
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