From 8cbcb1f98f5982f56c9b3ac5b8e089b3b18cf305 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Sat, 19 Aug 2023 11:23:51 +0200 Subject: Replace QList with QHash --- contacts.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'contacts.cpp') diff --git a/contacts.cpp b/contacts.cpp index 1729d2c..3d3ff77 100644 --- a/contacts.cpp +++ b/contacts.cpp @@ -3,9 +3,9 @@ #include #include -Contacts::Contacts(QList &databases, QWidget *const parent) : - QDialog(parent), - databases(databases) +Contacts::Contacts(const QHash &databases, + QWidget *const parent) : + QDialog(parent) { ui.setupUi(this); QScroller::grabGesture(ui.contacts_list, QScroller::TouchGesture); -- cgit v1.2.3