diff options
| author | Tannin <devnull@localhost> | 2015-01-22 19:44:38 +0100 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2015-01-22 19:44:38 +0100 |
| commit | 2400e2c99ed3aa44152147ea7402c7f05f984aec (patch) | |
| tree | eff19629cdbeed469e0daebcfb91f5fa3491e54e /src/downloadmanager.cpp | |
| parent | af1e3d0187930c565c23e32652ab03dc11a8b0e8 (diff) | |
cleanup (mostly removing unused includes)
Diffstat (limited to 'src/downloadmanager.cpp')
| -rw-r--r-- | src/downloadmanager.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/downloadmanager.cpp b/src/downloadmanager.cpp index b803d170..1ccc5b67 100644 --- a/src/downloadmanager.cpp +++ b/src/downloadmanager.cpp @@ -20,6 +20,8 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. #include "downloadmanager.h"
#include "report.h"
#include "nxmurl.h"
+#include "nexusinterface.h"
+#include "nxmaccessmanager.h"
#include <gameinfo.h>
#include <nxmurl.h>
#include <taskprogressmanager.h>
@@ -1082,7 +1084,7 @@ QDateTime DownloadManager::matchDate(const QString &timeString) }
-EFileCategory convertFileCategory(int id)
+static EFileCategory convertFileCategory(int id)
{
// TODO: need to handle file categories in the mod page plugin
switch (id) {
@@ -1200,7 +1202,7 @@ void DownloadManager::nxmFileInfoAvailable(int modID, int fileID, QVariant userD m_RequestIDs.insert(m_NexusInterface->requestDownloadURL(modID, fileID, this, qVariantFromValue(test), QString()));
}
-int evaluateFileInfoMap(const QVariantMap &map, const std::map<QString, int> &preferredServers)
+static int evaluateFileInfoMap(const QVariantMap &map, const std::map<QString, int> &preferredServers)
{
int result = 0;
|
