diff options
| author | Méven Car <[email protected]> | 2025-11-16 13:53:58 +0100 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2026-01-20 10:45:34 +0100 |
| commit | 93a6978655fc1ce9e0fd8ea08029859f71c32db9 (patch) | |
| tree | a65c505d9b951317dcc4a5d5bfc16cf7f5992995 /src/tests | |
| parent | 38fb26518a14f68ce66a14a1197866fed865c430 (diff) | |
dolphinview: when creating a subfolder expand to it if in details mode
So the new folder is in view.
Diffstat (limited to 'src/tests')
| -rw-r--r-- | src/tests/kfileitemmodeltest.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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/". |
