summaryrefslogtreecommitdiff
path: root/src/organizercore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/organizercore.cpp')
-rw-r--r--src/organizercore.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/organizercore.cpp b/src/organizercore.cpp
index 10b6fd8b..4fa09ab6 100644
--- a/src/organizercore.cpp
+++ b/src/organizercore.cpp
@@ -1010,7 +1010,7 @@ MOBase::IModInterface *OrganizerCore::installMod(const QString &fileName,
emit modInstalled(modName);
return modInfo.data();
} else {
- reportError(tr("mod \"%1\" not found").arg(modName));
+ reportError(tr("mod not found: %1").arg(qUtf8Printable(modName)));
}
} else if (m_InstallationManager.wasCancelled()) {
QMessageBox::information(qApp->activeWindow(), tr("Installation cancelled"),
@@ -1068,7 +1068,7 @@ void OrganizerCore::installDownload(int index)
m_ModInstalled(modName);
} else {
- reportError(tr("mod \"%1\" not found").arg(modName));
+ reportError(tr("mod not found: %1").arg(qUtf8Printable(modName)));
}
m_DownloadManager.markInstalled(index);
@@ -1129,7 +1129,7 @@ QStringList OrganizerCore::findFiles(
}
}
} else {
- qWarning("directory %s not found", qUtf8Printable(path));
+ qWarning("directory not found: %1", qUtf8Printable(path));
}
return result;
}
@@ -1148,7 +1148,7 @@ QStringList OrganizerCore::getFileOrigins(const QString &fileName) const
ToQString(m_DirectoryStructure->getOriginByID(i.first).getName()));
}
} else {
- qDebug("%s not found", qUtf8Printable(fileName));
+ qWarning("file not found: %1", qUtf8Printable(fileName));
}
return result;
}
@@ -1294,7 +1294,7 @@ HANDLE OrganizerCore::spawnBinaryProcess(const QFileInfo &binary,
if (!binary.exists()) {
reportError(
- tr("Executable \"%1\" not found").arg(binary.absoluteFilePath()));
+ tr("Executable not found: %1").arg(qUtf8Printable(binary.absoluteFilePath())));
return INVALID_HANDLE_VALUE;
}