Commit 76ba9825 authored by Karel Slaný's avatar Karel Slaný
Browse files

Removed unused parameters.

parent 69e640b5
......@@ -303,7 +303,7 @@ Component {
text: qsTr("Delete message")
enabled: canDeleteMsg
onTriggered: {
messages.deleteMessageFromDbs(gUserName, gMsgId, gMsgType)
messages.deleteMessageFromDbs(gUserName, gMsgId)
}
}
}
......
......@@ -131,8 +131,7 @@ void Messages::markMessagesAsLocallyRead(const QString &userName, bool isRead)
/*
* Slot: Delete selected message from databases.
*/
void Messages::deleteMessageFromDbs(const QString &userName, qint64 msgId,
int msgType)
void Messages::deleteMessageFromDbs(const QString &userName, qint64 msgId)
/* ========================================================================= */
{
qDebug("%s()", __func__);
......
......@@ -71,7 +71,7 @@ public:
* @brief Delete selected message from databases.
*/
Q_INVOKABLE void deleteMessageFromDbs(const QString &userName,
qint64 msgId, int msgType);
qint64 msgId);
/*!
* @brief Delete messages from all message databases together with files
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment