From 7d506f7bebbcc3b5f8a37589f8fda6fa1e7e1efd 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 68f23042..f41f6c10 100644 --- a/connection.cpp +++ b/connection.cpp @@ -302,8 +302,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