diff options
| author | LostDragonist <lost.dragonist@gmail.com> | 2019-01-30 20:32:48 -0600 |
|---|---|---|
| committer | LostDragonist <lost.dragonist@gmail.com> | 2019-01-30 20:32:48 -0600 |
| commit | 4b522f40e88e1350434aaa7d77fc60cb7ca36930 (patch) | |
| tree | ab162fb185d043fbb29a9984ba24b1daf906f765 /src/organizercore.cpp | |
| parent | 6d453505468ccf86966c358d57aa820b18def4ec (diff) | |
Make logs more consistent in format and content
Diffstat (limited to 'src/organizercore.cpp')
| -rw-r--r-- | src/organizercore.cpp | 10 |
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;
}
|
