summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/organizercore.cpp2
1 files changed, 1 insertions, 1 deletions
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"