diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-04-01 01:09:45 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-04-01 01:14:44 +0200 |
commit | 4e5e5d55ebbcc274ad4565dbe18ba74ea2529df1 (patch) | |
tree | c13febd2f96b6e2b2462ba536466d28b951e3689 /src | |
parent | Allow knocking if join failed and via matrix uris (diff) | |
download | nheko-4e5e5d55ebbcc274ad4565dbe18ba74ea2529df1.tar.xz |
lint
Diffstat (limited to 'src')
-rw-r--r-- | src/ChatPage.cpp | 11 |
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); |