From 87290d4be4be977866ee971725a59fd0b5f21225 Mon Sep 17 00:00:00 2001 From: Josef Rokos Date: Sun, 21 May 2017 16:54:49 +0200 Subject: [PATCH] Changed first name and last name order when displaying address in combos. --- addressbook/data/addressbookdata.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/data/addressbookdata.cpp b/addressbook/data/addressbookdata.cpp index bee6c41..71ca016 100644 --- a/addressbook/data/addressbookdata.cpp +++ b/addressbook/data/addressbookdata.cpp @@ -127,7 +127,7 @@ bool AddressbookData::eq(ComboItem *other) QString AddressbookData::toString() { - return m_firstName + " " + m_lastName + ", " + m_addressStreet + " " + m_addressHouseNumber + ", " + m_addressCity; + return m_lastName + " " + m_firstName + ", " + m_addressStreet + " " + m_addressHouseNumber + ", " + m_addressCity; }