summaryrefslogtreecommitdiff
path: root/src/installationmanager.cpp
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2014-11-06 00:03:44 +0100
committerTannin <devnull@localhost>2014-11-06 00:03:44 +0100
commit20db939501958275eb591c7737ffcc3f5f7685bd (patch)
tree09f8f9008e9a7045ff22150634cfa479670c841d /src/installationmanager.cpp
parentbfa6c9ab1e2f316c53811de6e311212b8a088591 (diff)
- workaround for GetModuleFileName-calls that supply wrong buffer size
- removed obsoleted calls to GetVersionEx - bugfix: download urls were potentially not encoded correctly - bugfixes to tls-based recursion protection
Diffstat (limited to 'src/installationmanager.cpp')
-rw-r--r--src/installationmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/installationmanager.cpp b/src/installationmanager.cpp
index 29914b65..d6435e57 100644
--- a/src/installationmanager.cpp
+++ b/src/installationmanager.cpp
@@ -257,7 +257,7 @@ QStringList InstallationManager::extractFiles(const QStringList &filesOrig, bool
new MethodCallback<InstallationManager, void, LPCWSTR>(this, &InstallationManager::dummyProgressFile),
new MethodCallback<InstallationManager, void, LPCWSTR>(this, &InstallationManager::report7ZipError))) {
m_InstallationProgress.hide();
- throw std::runtime_error("extracting failed");
+ throw MyException(QString("extracting failed (%1)").arg(m_CurrentArchive->getLastError()));
}
m_InstallationProgress.hide();
@@ -542,7 +542,7 @@ bool InstallationManager::doInstall(GuessedValue<QString> &modName, int modID,
if (m_CurrentArchive->getLastError() == Archive::ERROR_EXTRACT_CANCELLED) {
return false;
} else {
- throw std::runtime_error("extracting failed");
+ throw MyException(QString("extracting failed (%1)").arg(m_CurrentArchive->getLastError()));
}
}