summary refs log tree commit diff
path: root/src/dialogs/MemberList.cpp
diff options
context:
space:
mode:
authorWeblate <noreply@weblate.nheko.im>2019-07-28 15:11:26 -0400
committerWeblate <noreply@weblate.nheko.im>2019-07-28 15:11:26 -0400
commite3d69957d391acfec8be84bda9a94e20ee615c40 (patch)
treea9e91e2d5dd422bfecf71bd757b651ad136d7e5b /src/dialogs/MemberList.cpp
parentTranslated using Weblate (Finnish) (diff)
parentAdd 'and' to typing display (diff)
downloadnheko-e3d69957d391acfec8be84bda9a94e20ee615c40.tar.xz
Merge branch '0.7.0-dev' of github.com:Nheko-Reborn/nheko into 0.7.0-dev
Fix merge conflicts with weblate translation files.
Diffstat (limited to 'src/dialogs/MemberList.cpp')
-rw-r--r--src/dialogs/MemberList.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dialogs/MemberList.cpp b/src/dialogs/MemberList.cpp

index f4167143..88a95403 100644 --- a/src/dialogs/MemberList.cpp +++ b/src/dialogs/MemberList.cpp
@@ -97,7 +97,7 @@ MemberList::MemberList(const QString &room_id, QWidget *parent) topLabel_->setAlignment(Qt::AlignCenter); topLabel_->setFont(font); - auto okBtn = new QPushButton("OK", this); + auto okBtn = new QPushButton(tr("OK"), this); auto buttonLayout = new QHBoxLayout(); buttonLayout->setSpacing(15); @@ -126,7 +126,7 @@ MemberList::MemberList(const QString &room_id, QWidget *parent) qCritical() << e.what(); } - auto closeShortcut = new QShortcut(QKeySequence(tr("ESC")), this); + auto closeShortcut = new QShortcut(QKeySequence(QKeySequence::Cancel), this); connect(closeShortcut, &QShortcut::activated, this, &MemberList::close); connect(okBtn, &QPushButton::clicked, this, &MemberList::close); }