summaryrefslogtreecommitdiff
path: root/src/installationmanager.cpp
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2013-11-22 17:45:34 +0100
committerTannin <devnull@localhost>2013-11-22 17:45:34 +0100
commitdb0347212a509b9ceef1cede61a4afd7d2253014 (patch)
tree406caa067ebf0a67cd42d08e684202703084e3a8 /src/installationmanager.cpp
parent5895a1a92d1f0463cec276c22e32f528a309d31c (diff)
- bugfix: installFile for mods was not a relative path if the downloads directory was non-default
- bugfix: crash after removing the last profile in the list (ordered alphabetically) - improved subdirs ordering to ensure pythonrunner is compiled before pythonproxy - translation files for plugins are now generated - set some texts as un-translatable where it made no sense - staging script now re-builds MO completely before packaging - updated qt libraries for packaging to 4.8.5 - added python to the package
Diffstat (limited to 'src/installationmanager.cpp')
-rw-r--r--src/installationmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/installationmanager.cpp b/src/installationmanager.cpp
index a8571ec9..224602a8 100644
--- a/src/installationmanager.cpp
+++ b/src/installationmanager.cpp
@@ -647,7 +647,7 @@ bool InstallationManager::install(const QString &fileName, GuessedValue<QString>
}
m_CurrentFile = fileInfo.absoluteFilePath();
- if (fileInfo.dir() == QDir(ToQString(GameInfo::instance().getDownloadDir()))) {
+ if (fileInfo.dir() == QDir(m_DownloadsDirectory)) {
m_CurrentFile = fileInfo.fileName();
}
qDebug("using mod name \"%s\" (id %d) -> %s", modName->toUtf8().constData(), modID, qPrintable(m_CurrentFile));