mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-24 03:58:49 +03:00
lint
This commit is contained in:
parent
4723b677d5
commit
96a066f246
1 changed files with 5 additions and 5 deletions
|
@ -194,16 +194,16 @@ public slots:
|
|||
|
||||
void storeForEdit()
|
||||
{
|
||||
textBeforeEdit = text();
|
||||
mentionsBefore = mentions_;
|
||||
mentionTextsBefore = mentionTexts_;
|
||||
textBeforeEdit = text();
|
||||
mentionsBefore = mentions_;
|
||||
mentionTextsBefore = mentionTexts_;
|
||||
containsAtRoomBefore = containsAtRoom_;
|
||||
emit mentionsChanged();
|
||||
}
|
||||
void restoreAfterEdit()
|
||||
{
|
||||
mentions_ = mentionsBefore;
|
||||
mentionTexts_ = mentionTextsBefore;
|
||||
mentions_ = mentionsBefore;
|
||||
mentionTexts_ = mentionTextsBefore;
|
||||
containsAtRoom_ = containsAtRoomBefore;
|
||||
mentionsBefore.clear();
|
||||
mentionTextsBefore.clear();
|
||||
|
|
Loading…
Reference in a new issue