diff --git a/application/GuiUtil.cpp b/application/GuiUtil.cpp index 7ce00115..922d38fa 100644 --- a/application/GuiUtil.cpp +++ b/application/GuiUtil.cpp @@ -94,7 +94,7 @@ QStringList GuiUtil::BrowseForMods(QString context, QString caption, QString fil if (w.exec()) { savedPaths[context] = w.directory().absolutePath(); - return w.getOpenFileNames(); + return w.selectedFiles(); } savedPaths[context] = w.directory().absolutePath(); return {}; diff --git a/application/MainWindow.cpp b/application/MainWindow.cpp index fff15cdf..02052392 100644 --- a/application/MainWindow.cpp +++ b/application/MainWindow.cpp @@ -321,7 +321,6 @@ namespace Ui { #include #include #include -#include #include diff --git a/application/pages/LegacyJarModPage.cpp b/application/pages/LegacyJarModPage.cpp index 60f1057a..92977de9 100644 --- a/application/pages/LegacyJarModPage.cpp +++ b/application/pages/LegacyJarModPage.cpp @@ -17,7 +17,6 @@ #include "ui_LegacyJarModPage.h" #include -#include #include #include diff --git a/application/pages/ModFolderPage.cpp b/application/pages/ModFolderPage.cpp index dbedbc25..f070098f 100644 --- a/application/pages/ModFolderPage.cpp +++ b/application/pages/ModFolderPage.cpp @@ -16,7 +16,6 @@ #include "ModFolderPage.h" #include "ui_ModFolderPage.h" -#include #include #include #include diff --git a/application/pages/OtherLogsPage.cpp b/application/pages/OtherLogsPage.cpp index b037a6c7..2f9a800c 100644 --- a/application/pages/OtherLogsPage.cpp +++ b/application/pages/OtherLogsPage.cpp @@ -16,7 +16,6 @@ #include "OtherLogsPage.h" #include "ui_OtherLogsPage.h" -#include #include #include "GuiUtil.h" diff --git a/application/pages/VersionPage.cpp b/application/pages/VersionPage.cpp index 2fb50f0b..ab4aecf6 100644 --- a/application/pages/VersionPage.cpp +++ b/application/pages/VersionPage.cpp @@ -16,7 +16,6 @@ #include "MultiMC.h" #include -#include #include #include #include diff --git a/application/pages/global/MinecraftPage.cpp b/application/pages/global/MinecraftPage.cpp index d1f1fb08..57f40ae6 100644 --- a/application/pages/global/MinecraftPage.cpp +++ b/application/pages/global/MinecraftPage.cpp @@ -16,7 +16,6 @@ #include "MinecraftPage.h" #include "ui_MinecraftPage.h" -#include #include #include