summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-04-01 01:09:45 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2022-04-01 01:14:44 +0200
commit4e5e5d55ebbcc274ad4565dbe18ba74ea2529df1 (patch)
treec13febd2f96b6e2b2462ba536466d28b951e3689
parentAllow knocking if join failed and via matrix uris (diff)
downloadnheko-4e5e5d55ebbcc274ad4565dbe18ba74ea2529df1.tar.xz
lint
-rw-r--r--src/ChatPage.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/ChatPage.cpp b/src/ChatPage.cpp

index 2ab5cac2..8dbba488 100644 --- a/src/ChatPage.cpp +++ b/src/ChatPage.cpp
@@ -675,14 +675,11 @@ ChatPage::knockRoom(const QString &room, reason = QInputDialog::getText( nullptr, tr("Knock on room"), + // clang-format off failedJoin - ? tr( - "You failed to join %1. You can try to knock, so that others can invite you in. Do you " - "want to do so?\nYou may optionally provide a reason for others to accept your knock:") - .arg(room) - : tr("Do you really want to knock on %1? You may optionally provide a reason for others to " - "accept your knock:") - .arg(room), + ? tr("You failed to join %1. You can try to knock, so that others can invite you in. Do you want to do so?\nYou may optionally provide a reason for others to accept your knock:").arg(room) + : tr("Do you really want to knock on %1? You may optionally provide a reason for others to accept your knock:").arg(room), + // clang-format on QLineEdit::Normal, reason, &confirmed);