Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikkel Krautz <mikkel@krautz.dk>2017-06-10 23:14:23 +0300
committerMikkel Krautz <mikkel@krautz.dk>2017-06-10 23:14:23 +0300
commit67838dbe958ebc650104f822b16de148cc511039 (patch)
treea1579bdc0ee79fc1493bf23fa9fd30bf841834f2 /src/mumble/Database.h
parentb1d901b445f50b39fe888cf7536d9f91ff546c9d (diff)
ConnectDialog, Database: use UnresolvedServerAddress type for the ping cache.
Diffstat (limited to 'src/mumble/Database.h')
-rw-r--r--src/mumble/Database.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mumble/Database.h b/src/mumble/Database.h
index b380e28b1..439c9aab2 100644
--- a/src/mumble/Database.h
+++ b/src/mumble/Database.h
@@ -7,6 +7,7 @@
#define MUMBLE_MUMBLE_DATABASE_H_
#include "Settings.h"
+#include "UnresolvedServerAddress.h"
struct FavoriteServer {
QString qsName;
@@ -41,8 +42,8 @@ class Database : public QObject {
static bool isChannelFiltered(const QByteArray &server_cert_digest, const int channel_id);
static void setChannelFiltered(const QByteArray &server_cert_digest, const int channel_id, bool hidden);
- static QMap<QPair<QString, unsigned short>, unsigned int> getPingCache();
- static void setPingCache(const QMap<QPair<QString, unsigned short>, unsigned int> &cache);
+ static QMap<UnresolvedServerAddress, unsigned int> getPingCache();
+ static void setPingCache(const QMap<UnresolvedServerAddress, unsigned int> &cache);
static bool seenComment(const QString &hash, const QByteArray &commenthash);
static void setSeenComment(const QString &hash, const QByteArray &commenthash);