diff options
author | FearlessTobi <thm.frey@gmail.com> | 2022-08-28 19:31:16 +0200 |
---|---|---|
committer | FearlessTobi <thm.frey@gmail.com> | 2022-09-02 00:50:32 +0200 |
commit | 65718e2876374aecf2ac29856387dab4394ca47f (patch) | |
tree | 5826079e7f63131021fa11120f17173e6c8e2307 /src/yuzu/multiplayer/chat_room.cpp | |
parent | 6791301d9a2fa8ddfe0de0d059763c701b830f94 (diff) |
Address review comments
Diffstat (limited to 'src/yuzu/multiplayer/chat_room.cpp')
-rw-r--r-- | src/yuzu/multiplayer/chat_room.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/yuzu/multiplayer/chat_room.cpp b/src/yuzu/multiplayer/chat_room.cpp index bddceb795..9e672f82e 100644 --- a/src/yuzu/multiplayer/chat_room.cpp +++ b/src/yuzu/multiplayer/chat_room.cpp @@ -154,9 +154,7 @@ public: } const QString version = data(GameVersionRole).toString(); QString version_string; - if (version.isEmpty()) { - version_string = QString{}; - } else { + if (!version.isEmpty()) { version_string = QStringLiteral("(%1)").arg(version); } return QStringLiteral("%1\n %2 %3") |