summaryrefslogtreecommitdiff
path: root/src/editexecutablesdialog.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2020-04-23 21:00:00 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2020-04-23 21:00:00 -0400
commitbbfec30539b31a2b8faa0df79435db94cefee8fe (patch)
tree58a6b7f8f0325665b0f3e93f2bfecdbe6beeb536 /src/editexecutablesdialog.cpp
parent530bade5f71806a7ffd317a6ba2b5cdccb1cc69c (diff)
now using new common cmakefiles
fixed includes because shared/ isn't in the path anymore removed unused modeltest files
Diffstat (limited to 'src/editexecutablesdialog.cpp')
-rw-r--r--src/editexecutablesdialog.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/editexecutablesdialog.cpp b/src/editexecutablesdialog.cpp
index 52615c23..cd11d5fb 100644
--- a/src/editexecutablesdialog.cpp
+++ b/src/editexecutablesdialog.cpp
@@ -20,7 +20,6 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
#include "editexecutablesdialog.h"
#include "ui_editexecutablesdialog.h"
#include "filedialogmemory.h"
-#include "stackdata.h"
#include "modlist.h"
#include "forcedloaddialog.h"
#include "organizercore.h"
@@ -74,9 +73,9 @@ EditExecutablesDialog::EditExecutablesDialog(OrganizerCore& oc, int sel, QWidget
for (auto&& m : m_organizerCore.modList()->allMods()) {
auto mod = ModInfo::getByName(m);
- if (!mod->hasAnyOfTheseFlags({ ModInfo::FLAG_FOREIGN,
- ModInfo::FLAG_BACKUP,
- ModInfo::FLAG_OVERWRITE,
+ if (!mod->hasAnyOfTheseFlags({ ModInfo::FLAG_FOREIGN,
+ ModInfo::FLAG_BACKUP,
+ ModInfo::FLAG_OVERWRITE,
ModInfo::FLAG_SEPARATOR })) {
ui->mods->addItem(m);
}