forked from qt-creator/qt-creator
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>
(cherry picked from commit 71e6916b37
)
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user