diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-08-19 11:23:51 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-08-30 02:46:41 +0200 |
| commit | 8cbcb1f98f5982f56c9b3ac5b8e089b3b18cf305 (patch) | |
| tree | b1b8011d8bf978476037ca296a69c979c810b038 /xxcc.h | |
| parent | 6ecc6b6f0272a47d41ce5d619eaa779a29fcf9df (diff) | |
Replace QList with QHash
Diffstat (limited to 'xxcc.h')
| -rw-r--r-- | xxcc.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -6,6 +6,7 @@ #include "credentials.h" #include "jiddb.h" #include <QDateTime> +#include <QHash> #include <QList> #include <QWidget> #include <QSqlDatabase> @@ -24,7 +25,7 @@ private: enum Tab {Conversations, Chat}; Ui_main ui; QList<Client *> clients; - QList<JidDb *> databases; + QHash<QString, JidDb *> databases; Credentials creds; Client *selected; void setupDatabases(const QList<Credentials::Pair> &pairs); |
