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 /contacts.cpp | |
| parent | 6ecc6b6f0272a47d41ce5d619eaa779a29fcf9df (diff) | |
| download | xxcc-8cbcb1f98f5982f56c9b3ac5b8e089b3b18cf305.tar.gz | |
Replace QList with QHash
Diffstat (limited to 'contacts.cpp')
| -rw-r--r-- | contacts.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contacts.cpp b/contacts.cpp index 1729d2c..3d3ff77 100644 --- a/contacts.cpp +++ b/contacts.cpp @@ -3,9 +3,9 @@ #include <QListWidgetItem> #include <QScroller> -Contacts::Contacts(QList<JidDb *> &databases, QWidget *const parent) : - QDialog(parent), - databases(databases) +Contacts::Contacts(const QHash<QString, JidDb *> &databases, + QWidget *const parent) : + QDialog(parent) { ui.setupUi(this); QScroller::grabGesture(ui.contacts_list, QScroller::TouchGesture); |
