add region map data to config, fix some bugs

This commit is contained in:
garak
2019-01-15 17:06:18 -05:00
parent c75ce5db1d
commit 41f3780c8a
16 changed files with 399 additions and 154 deletions

View File

@@ -2,6 +2,7 @@
#define MAPCONNECTION_H
#include <QString>
#include <QHash>
class MapConnection {
public:
@@ -10,4 +11,12 @@ public:
QString map_name;
};
inline bool operator==(const MapConnection &c1, const MapConnection &c2) {
return c1.map_name == c2.map_name;
}
inline uint qHash(const MapConnection &key) {
return qHash(key.map_name);
}
#endif // MAPCONNECTION_H