From fe37b48dffd8edcd6e30f4e304d3e27a731ac8ae Mon Sep 17 00:00:00 2001 From: Tannin Date: Sat, 29 Jun 2013 18:04:10 +0200 Subject: - 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 --- src/installationmanager.cpp | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'src/installationmanager.cpp') 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 &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 &name) const { -- cgit v1.3.1