summaryrefslogtreecommitdiff
path: root/src/installationmanager.cpp
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2013-06-29 18:04:10 +0200
committerTannin <devnull@localhost>2013-06-29 18:04:10 +0200
commitfe37b48dffd8edcd6e30f4e304d3e27a731ac8ae (patch)
treee996c5d329d9abf77bcd12af4d05238fd6ebca1f /src/installationmanager.cpp
parentf8c683f700a3fff30540ff343df2bfba15080e86 (diff)
- caching of downloadwidgets to fix performance problem, currently broken and disabled
- added new state for downloads "uninstalled" for mods that were at one point installed and then removed - user-configured server preference is now used - updated tutorial to account for removal of integrated browser - reverted to qt 4 - using performance optimised findfirstfile on win vista and up - bugfix: it was possible to disable all columns of the mod list - bugfix: hook.dll doesn't load on win xp
Diffstat (limited to 'src/installationmanager.cpp')
-rw-r--r--src/installationmanager.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/installationmanager.cpp b/src/installationmanager.cpp
index 38173d8b..a6d86f36 100644
--- a/src/installationmanager.cpp
+++ b/src/installationmanager.cpp
@@ -484,30 +484,6 @@ bool InstallationManager::testOverwrite(GuessedValue<QString> &modName) const
return true;
}
-/*
-bool InstallationManager::fixModName(QString &name)
-{
- QString temp = name.simplified();
- while (temp.endsWith('.')) temp.chop(1);
-
- temp.replace(QRegExp("[<>:\"/\\|?*]"), "");
- static QString invalidNames[] = { "CON", "PRN", "AUX", "NUL", "COM1", "COM2", "COM3", "COM4", "COM5", "COM6", "COM7", "COM8", "COM9",
- "LPT1", "LPT2", "LPT3", "LPT4", "LPT5", "LPT6", "LPT7", "LPT8", "LPT9" };
- for (int i = 0; i < sizeof(invalidNames) / sizeof(QString); ++i) {
- if (temp == invalidNames[i]) {
- temp = "";
- break;
- }
- }
-
- if (temp.length() > 1) {
- name = temp;
- return true;
- } else {
- return false;
- }
-}
-*/
bool InstallationManager::ensureValidModName(GuessedValue<QString> &name) const
{