diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-08-26 00:48:25 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-08-26 00:48:25 -0400 |
| commit | 36dbb4bad74b097d44b843a2e934aa4a58ef6492 (patch) | |
| tree | fc599b222b399a5f3e1b691d008970bb1db5075b /src/settings.h | |
| parent | 7395fbb7544740a136884e103cb0829bd10b5655 (diff) | |
ServerList instead of a QList of ServerInfo
changed preferred to an int
moved all server settings to Settings
Diffstat (limited to 'src/settings.h')
| -rw-r--r-- | src/settings.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/settings.h b/src/settings.h index 4662ed19..31dbf85c 100644 --- a/src/settings.h +++ b/src/settings.h @@ -34,6 +34,7 @@ class QSplitter; class PluginContainer; class ServerInfo; +class ServerList; class Settings; class ExpanderWidget; @@ -493,11 +494,13 @@ public: */ std::map<QString, int> getPreferredServers(); + ServerList getServers() const; + /** * @brief updates the list of known servers * @param list of servers from a recent query */ - void updateServers(const QList<ServerInfo> &servers); + void updateServers(const ServerList& servers); /** * @brief add a plugin that is to be blacklisted |
