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