From 9431597e6683ed74285e78057145f5ff6d326bb9 Mon Sep 17 00:00:00 2001 From: LostDragonist Date: Thu, 29 Nov 2018 15:33:47 -0600 Subject: Correct comparison logic for blacklist warning --- src/organizercore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/organizercore.cpp') diff --git a/src/organizercore.cpp b/src/organizercore.cpp index 9ac3cb63..4dbe7c86 100644 --- a/src/organizercore.cpp +++ b/src/organizercore.cpp @@ -1340,7 +1340,7 @@ HANDLE OrganizerCore::spawnBinaryProcess(const QFileInfo &binary, } for (auto exec : settings().executablesBlacklist().split(";")) { - if (exec.compare(binary.fileName(), Qt::CaseInsensitive)) { + if (exec.compare(binary.fileName(), Qt::CaseInsensitive) == 0) { if (QuestionBoxMemory::query(window, QString("blacklistedExecutable"), binary.fileName(), tr("Blacklisted Executable"), tr("The executable you are attempted to launch is blacklisted in the virtual file" -- cgit v1.3.1