Commit 23bb2b50 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix list of group name

parent 8f1ae692
Pipeline #76770 passed with stage
in 3 minutes and 51 seconds
......@@ -50,7 +50,7 @@ void LoadGroupMenu::init()
}
for (const QString &dirName : groupPath) {
QDir dir(dirName);
mGroupNames = dir.entryList(QDir::Files | QDir::NoDotAndDotDot);
mGroupNames += dir.entryList(QDir::Files | QDir::NoDotAndDotDot);
for (const QString &file : std::as_const(mGroupNames)) {
QAction *act = addAction(file);
const QString fullPath = dirName + QLatin1Char('/') + file;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment