From 49e0faf17d67eaf37d3fd6b227e40ff29dc8ef85 Mon Sep 17 00:00:00 2001 From: Dongxu Li Date: Tue, 12 Sep 2023 02:19:04 -0400 Subject: [PATCH] luaPath --- lcUI/operationloader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lcUI/operationloader.cpp b/lcUI/operationloader.cpp index d2da420a..27344c14 100644 --- a/lcUI/operationloader.cpp +++ b/lcUI/operationloader.cpp @@ -28,7 +28,7 @@ std::string findLuaFolder(std::string luaPath) if (QFileInfo{QString{luaPath.c_str()} + operationsLua}.exists()) return luaPath; - QDirIterator it(luaPath, QDirIterator::Subdirectories); + QDirIterator it(QString{luaPath.c_str()}, QDirIterator::Subdirectories); // Iterate through the directory using the QDirIterator while (it.hasNext())