fixes for ci errors

Signed-off-by: QazCetelic <qaz.cetelic@protonmail.com>
This commit is contained in:
QazCetelic 2024-09-11 09:31:16 +02:00
parent 40c3866f63
commit 0a576a0f67

View File

@ -35,6 +35,7 @@
*/
#include "IconList.h"
#include <filesystem>
#include <FileSystem.h>
#include <QDebug>
#include <QEventLoop>
@ -180,7 +181,7 @@ void IconList::directoryChanged(const QString& path)
#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
QSet<QString> new_set(new_file_names_list.begin(), new_file_names_list.end());
#else
auto new_set = new_list.toSet();
auto new_set = new_file_names_list.toSet();
#endif
QList<QString> current_list;
for (auto& it : icons) {