1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Fix a typo in function name

This commit is contained in:
a68366 2016-01-18 16:50:11 +03:00
parent dba7a53ec7
commit 65421e8992
4 changed files with 5 additions and 5 deletions

View File

@ -82,7 +82,7 @@ void OfflineMsgEngine::deliverOfflineMsgs()
return;
QMap<int64_t, MsgPtr> msgs = undeliveredMsgs;
removeAllReciepts();
removeAllReceipts();
undeliveredMsgs.clear();
for (auto iter = msgs.begin(); iter != msgs.end(); ++iter)
@ -106,7 +106,7 @@ void OfflineMsgEngine::deliverOfflineMsgs()
}
}
void OfflineMsgEngine::removeAllReciepts()
void OfflineMsgEngine::removeAllReceipts()
{
QMutexLocker ml(&mutex);

View File

@ -43,7 +43,7 @@ public:
public slots:
void deliverOfflineMsgs();
void removeAllReciepts();
void removeAllReceipts();
private:
struct MsgPtr {

View File

@ -110,7 +110,7 @@ ChatForm::ChatForm(Friend* chatFriend)
connect(msgEdit, &ChatTextEdit::enterPressed, this, &ChatForm::onSendTriggered);
connect(msgEdit, &ChatTextEdit::textChanged, this, &ChatForm::onTextEditChanged);
connect(core, &Core::fileSendFailed, this, &ChatForm::onFileSendFailed);
connect(this, &ChatForm::chatAreaCleared, getOfflineMsgEngine(), &OfflineMsgEngine::removeAllReciepts);
connect(this, &ChatForm::chatAreaCleared, getOfflineMsgEngine(), &OfflineMsgEngine::removeAllReceipts);
connect(&typingTimer, &QTimer::timeout, this, [=]{
Core::getInstance()->sendTyping(f->getFriendID(), false);
isTyping = false;

View File

@ -1848,7 +1848,7 @@ void Widget::clearAllReceipts()
{
QList<Friend*> frnds = FriendList::getAllFriends();
for (Friend *f : frnds)
f->getChatForm()->getOfflineMsgEngine()->removeAllReciepts();
f->getChatForm()->getOfflineMsgEngine()->removeAllReceipts();
}
void Widget::reloadTheme()