diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-08-27 22:54:06 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-08-30 02:46:41 +0200 |
| commit | e3c11fd05496bb2953e4dfe031afb1c180604d30 (patch) | |
| tree | 73450c857c97126feaa3651ac6edb789997f483c /xxcc.cpp | |
| parent | 78d9bd40849a39db1fbdbfc87b2c45e9d3e73d06 (diff) | |
| download | xxcc-e3c11fd05496bb2953e4dfe031afb1c180604d30.tar.gz | |
jiddb: Remove 'get' from public functions
Diffstat (limited to 'xxcc.cpp')
| -rw-r--r-- | xxcc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -81,7 +81,7 @@ xxcc::xxcc(QWidget *const parent) : { const auto &db = selected->database(); static const auto n_messages = 20; - const auto messages = db.getMessages(conv->to, n_messages); + const auto messages = db.messages(conv->to, n_messages); for (auto it = messages.rbegin(); it != messages.rend(); it++) new Message(it->body, it->dt, it->direction, ui.messages); @@ -250,7 +250,7 @@ void xxcc::retrieveConversations() { const auto &db = c->database(); - for (const auto &conv : db.getConversations()) + for (const auto &conv : db.conversations()) new Conversation(db.jid, conv.to, ui.conversations_list, conv.last_msg, conv.dt); } |
