FileIteratorWrapper: fix typo in "__qtc__devices__"

It should be what FilePath::specialRootName() returns,
"__qtc_devices__". Looks like nothing used the string retured by next()
so this didn't cause issues before.

Change-Id: Ib9c48d8ea032b1ca7d9ec08003f9d51c5a2ae528
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
Ahmad Samir
2024-03-06 20:25:46 +02:00
parent 5760654674
commit 71e6916b37

View File

@@ -52,7 +52,7 @@ public:
if (m_status == State::BaseIteratorEnd) { if (m_status == State::BaseIteratorEnd) {
m_status = State::Ended; m_status = State::Ended;
return "__qtc__devices__"; return FilePath::specialRootName();
} }
return m_baseIterator->next(); return m_baseIterator->next();