Qt6.6 compatibility
This commit is contained in:
parent
4ec463bee2
commit
45ecb71444
16 changed files with 32 additions and 32 deletions
|
|
@ -302,7 +302,7 @@ Cache::setup()
|
|||
QDir stateDir(cacheDirectory_);
|
||||
|
||||
auto eList = stateDir.entryList(QDir::NoDotAndDotDot);
|
||||
for (const auto &file : qAsConst(eList)) {
|
||||
for (const auto &file : std::as_const(eList)) {
|
||||
if (!stateDir.remove(file))
|
||||
throw std::runtime_error(("Unable to delete file " + file).toStdString().c_str());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue