mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-09-16 07:26:20 -04:00
fixes for ci errors
Signed-off-by: QazCetelic <qaz.cetelic@protonmail.com>
This commit is contained in:
parent
40c3866f63
commit
0a576a0f67
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user