Skip to content

Commit

Permalink
luaPath
Browse files Browse the repository at this point in the history
  • Loading branch information
dxli committed Sep 12, 2023
1 parent 2d2c254 commit 49e0faf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lcUI/operationloader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 49e0faf

Please sign in to comment.