From 4e5e5d55ebbcc274ad4565dbe18ba74ea2529df1 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Fri, 1 Apr 2022 01:09:45 +0200 Subject: [PATCH] lint --- src/ChatPage.cpp | 11 ++++------- 1 file 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);