aboutsummaryrefslogtreecommitdiff
path: root/src/aoapplication.h
diff options
context:
space:
mode:
authorTrickyLeifa <date.epoch@gmail.com>2024-05-16 03:09:21 +0200
committerTrickyLeifa <date.epoch@gmail.com>2024-05-16 03:09:21 +0200
commit39e4354b1dae5d8487ea5b84be9f304b1950a61a (patch)
tree734c99d3ef1a8e69007dd870a8b6763deca5ffce /src/aoapplication.h
parenta0cee58c048772b2dcfe3992f60728d5a6f7d786 (diff)
Reimplemented favorite server widget, ...
* Reworked favorite server widget * Renamed `server_type` to `ServerInfo` * Renamed `connection_type` to `ServerConnectionType` * Refactored `AOCharButton` * Reimplemented `AOButton` * Partially reimplemented `AOEmoteButton` * Refactored `AOEvidenceButton`
Diffstat (limited to 'src/aoapplication.h')
-rw-r--r--src/aoapplication.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/aoapplication.h b/src/aoapplication.h
index 419377f1..1ff059b6 100644
--- a/src/aoapplication.h
+++ b/src/aoapplication.h
@@ -128,8 +128,8 @@ public:
///////////////////////////////////////////
- void set_server_list(QVector<server_type> &servers) { server_list = servers; }
- QVector<server_type> &get_server_list() { return server_list; }
+ void set_server_list(QVector<ServerInfo> &servers) { server_list = servers; }
+ QVector<ServerInfo> &get_server_list() { return server_list; }
// implementation in path_functions.cpp
VPath get_theme_path(QString p_file, QString p_theme = QString());
@@ -359,7 +359,7 @@ private:
const int MAJOR_VERSION = 11;
const int MINOR_VERSION = 0;
- QVector<server_type> server_list;
+ QVector<ServerInfo> server_list;
QHash<uint, QString> asset_lookup_cache;
QHash<uint, QString> dir_listing_cache;
QSet<uint> dir_listing_exist_cache;