diff --git a/resources/binaries b/resources/binaries index 4a01edaec..ae7084718 160000 --- a/resources/binaries +++ b/resources/binaries @@ -1 +1 @@ -Subproject commit 4a01edaec7d67d3b2ae81aeea2a3c876216fbab8 +Subproject commit ae7084718c41afc01919779e58cd449e0eebd401 diff --git a/src/core/messagesmodel.cpp b/src/core/messagesmodel.cpp index 53fbe1844..c7406d958 100755 --- a/src/core/messagesmodel.cpp +++ b/src/core/messagesmodel.cpp @@ -229,7 +229,9 @@ QVariant MessagesModel::data(const QModelIndex& idx, int role) const { } else if (index_column == MSG_DB_CONTENTS_INDEX) { // Do not display full contents here. - return data(idx, Qt::EditRole).toString().mid(0, 64).simplified() + QL1S("..."); + QString contents = data(idx, Qt::EditRole).toString().mid(0, 64).simplified() + QL1S("..."); + + return contents; } else if (index_column == MSG_DB_AUTHOR_INDEX) { const QString author_name = QSqlQueryModel::data(idx, role).toString(); diff --git a/src/miscellaneous/databasequeries.cpp b/src/miscellaneous/databasequeries.cpp index aa2025be5..a038878e5 100755 --- a/src/miscellaneous/databasequeries.cpp +++ b/src/miscellaneous/databasequeries.cpp @@ -533,8 +533,7 @@ int DatabaseQueries::updateMessages(QSqlDatabase db, contents_existing_message = query_select_with_url.value(4).toString(); feed_id_existing_message = query_select_with_url.value(5).toString(); - qDebug("Message with these attributes is already present in DB and has DB ID %d.", - qPrintable(message.m_customId), id_existing_message); + qDebug("Message with these attributes is already present in DB and has DB ID %d.", id_existing_message); } else if (query_select_with_url.lastError().isValid()) { qWarning("Failed to check for existing message in DB via URL: '%s'.", qPrintable(query_select_with_url.lastError().text()));