diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-08-26 03:01:55 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-08-26 03:01:55 -0400 |
| commit | c42e5fb2fec9b20fe6956d8798b85874b2eff73e (patch) | |
| tree | 379ec7ae6407ce7d5adf98c5cb885ae17d7c53ec /src/downloadmanager.h | |
| parent | 896d80d02ccef746ba6598534ce444da2755ae04 (diff) | |
changed total speed and count to a list of the last 5 downloads
existing servers now merged when retrieving the download links
download manager doesn't store the servers any more, queries the settings every time
Diffstat (limited to 'src/downloadmanager.h')
| -rw-r--r-- | src/downloadmanager.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/downloadmanager.h b/src/downloadmanager.h index f739f4f0..bed1b3cc 100644 --- a/src/downloadmanager.h +++ b/src/downloadmanager.h @@ -175,11 +175,6 @@ public: QString getOutputDirectory() const { return m_OutputDirectory; } /** - * @brief sets the list of servers - */ - void setServers(const ServerList& servers); - - /** * @brief set the list of supported extensions * @param extensions list of supported extensions */ @@ -361,17 +356,6 @@ public: */ void refreshList(); - /** - * @brief Sort function for download servers - * @param LHS - * @param RHS - * @return - */ - static bool ServerByPreference( - const QList<ServerInfo>& preferredServers, - const QVariant &LHS, const QVariant &RHS); - - virtual int startDownloadURLs(const QStringList &urls); virtual int startDownloadNexusFile(int modID, int fileID); @@ -551,7 +535,6 @@ private: QVector<DownloadInfo*> m_ActiveDownloads; QString m_OutputDirectory; - ServerList m_Servers; QStringList m_SupportedExtensions; std::set<int> m_RequestIDs; QVector<int> m_AlphabeticalTranslation; |
