mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-19 12:22:47 +01:00
Build fixed.
This commit is contained in:
parent
6b72937992
commit
bdfe0af3b7
@ -1 +1 @@
|
||||
Subproject commit 4a01edaec7d67d3b2ae81aeea2a3c876216fbab8
|
||||
Subproject commit ae7084718c41afc01919779e58cd449e0eebd401
|
@ -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();
|
||||
|
@ -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()));
|
||||
|
Loading…
Reference in New Issue
Block a user