From b9b2d97e83ac14798c220d6f6dc4ead1809a9cf7 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Wed, 24 Jan 2018 11:22:52 +0900 Subject: splitMediaId: fix typos in the assertion failure message --- connection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/connection.cpp b/connection.cpp index b6ede0af..1257f251 100644 --- a/connection.cpp +++ b/connection.cpp @@ -303,8 +303,8 @@ inline auto splitMediaId(const QString& mediaId) { auto idParts = mediaId.split('/'); Q_ASSERT_X(idParts.size() == 2, __FUNCTION__, - ("mediaId:" + mediaId + - "doesn't look like \"serverName/localMediaId\"").toLatin1()); + ("'" + mediaId + + "' doesn't look like 'serverName/localMediaId'").toLatin1()); return idParts; } -- cgit v1.2.3