summary refs log tree commit diff
path: root/src/Cache.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-10-13 23:28:57 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2023-10-13 23:29:32 +0200
commit45ecb71444143a6f7ae8d2ae21a1b071fc708616 (patch)
treeb8c33354879575e84e4219b0eb7a4b11da740d60 /src/Cache.cpp
parentFix (hopefully) HiDPI scaling issues with edit and encryption icons (diff)
downloadnheko-45ecb71444143a6f7ae8d2ae21a1b071fc708616.tar.xz
Qt6.6 compatibility
Diffstat (limited to '')
-rw-r--r--src/Cache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Cache.cpp b/src/Cache.cpp

index 0426f38a..cb5dc9c8 100644 --- a/src/Cache.cpp +++ b/src/Cache.cpp
@@ -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()); }