Commit b93c111a authored by Karel Slaný's avatar Karel Slaný
Browse files

Fixed a typo in function name.

parent 67e4b170
......@@ -263,7 +263,7 @@ Component {
MouseArea {
anchors.fill: parent
onClicked: {
files.openAttachnemt(gUserName, gMsgId, rFileId)
files.openAttachment(gUserName, gMsgId, rFileId)
}
}
Rectangle {
......
......@@ -200,7 +200,7 @@ void Files::fillFileList(const QString &userName, qint64 msgId)
/*
* Slot: Open attachment in default application.
*/
void Files::openAttachnemt(const QString &userName, qint64 msgId, int fileId)
void Files::openAttachment(const QString &userName, qint64 msgId, int fileId)
/* ========================================================================= */
{
qDebug("%s()", __func__);
......
......@@ -45,7 +45,7 @@ public:
/*!
* @brief Open attachment in default application.
*/
Q_INVOKABLE void openAttachnemt(const QString &userName, qint64 msgId,
Q_INVOKABLE void openAttachment(const QString &userName, qint64 msgId,
int fileId);
/*!
......
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