Fixed warnings
This commit is contained in:
parent
94fbf4c702
commit
0ecf00822b
2 changed files with 2 additions and 1 deletions
|
@ -126,6 +126,7 @@ void ConversationsDbusInterface::addMessages(const QList<ConversationMessage> &m
|
|||
void ConversationsDbusInterface::removeMessage(const QString& internalId)
|
||||
{
|
||||
// TODO: Delete the specified message from our internal structures
|
||||
Q_UNUSED(internalId);
|
||||
}
|
||||
|
||||
QList<ConversationMessage> ConversationsDbusInterface::getConversation(const qint64& conversationID) const
|
||||
|
|
|
@ -75,7 +75,7 @@ size_t RequestConversationWorker::replyForConversation(const QList<ConversationM
|
|||
// Messages are sorted in ascending order of keys, meaning the front of the list has the oldest
|
||||
// messages (smallest timestamp number)
|
||||
// Therefore, return the end of the list first (most recent messages)
|
||||
int i = 0;
|
||||
size_t i = 0;
|
||||
for(auto it = conversation.crbegin() + start; it != conversation.crend(); ++it) {
|
||||
if (i >= howMany) {
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue