diff options
| author | Tannin <sherb@gmx.net> | 2015-11-19 19:09:34 +0100 |
|---|---|---|
| committer | Tannin <sherb@gmx.net> | 2015-11-19 19:09:34 +0100 |
| commit | 4ff751fb7e592376de5faab44ab7dd6fe70dbdd0 (patch) | |
| tree | 937948ba4796cfe63612034b6fa41e288a7c49cc /src/installationmanager.cpp | |
| parent | d8d81ee06f62c7636ac79d5c162db3e4e39f79a1 (diff) | |
some fixes/disabled code required since hook.dll is gone
Diffstat (limited to 'src/installationmanager.cpp')
| -rw-r--r-- | src/installationmanager.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/installationmanager.cpp b/src/installationmanager.cpp index a6af1a7f..1e06965d 100644 --- a/src/installationmanager.cpp +++ b/src/installationmanager.cpp @@ -694,7 +694,10 @@ bool InstallationManager::install(const QString &fileName, GuessedValue<QString> bool archiveOpen = m_CurrentArchive->open(ToWString(QDir::toNativeSeparators(fileName)).c_str(),
new MethodCallback<InstallationManager, void, LPSTR>(this, &InstallationManager::queryPassword));
if (!archiveOpen) {
- qDebug("integrated archiver can't open %s. errorcode %d", qPrintable(fileName), m_CurrentArchive->getLastError());
+ qDebug("integrated archiver can't open %s: %s (%d)",
+ qPrintable(fileName),
+ qPrintable(getErrorString(m_CurrentArchive->getLastError())),
+ m_CurrentArchive->getLastError());
}
ON_BLOCK_EXIT(std::bind(&InstallationManager::postInstallCleanup, this));
|
