From 93a6978655fc1ce9e0fd8ea08029859f71c32db9 Mon Sep 17 00:00:00 2001 From: Méven Car Date: Sun, 16 Nov 2025 13:53:58 +0100 Subject: dolphinview: when creating a subfolder expand to it if in details mode So the new folder is in view. --- src/tests/kfileitemmodeltest.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/tests/kfileitemmodeltest.cpp') diff --git a/src/tests/kfileitemmodeltest.cpp b/src/tests/kfileitemmodeltest.cpp index 4c6db590d..b8e0e9893 100644 --- a/src/tests/kfileitemmodeltest.cpp +++ b/src/tests/kfileitemmodeltest.cpp @@ -696,6 +696,9 @@ void KFileItemModelTest::testExpandParentItems() // Expand the parents of "a2/b2/c2". m_model->expandParentDirectories(QUrl::fromLocalFile(m_testDir->path() + "a2/b2/c2")); + // a first load is occuring for a2/b2/ + QVERIFY(loadingCompletedSpy.wait()); + // a second load for a2/b2/c2/ expansion QVERIFY(loadingCompletedSpy.wait()); // The model should now contain "a 1/", "a2/", "a2/b2/", and "a2/b2/c2/". -- cgit v1.3