aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-01-24 11:22:52 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-01-26 08:56:11 +0900
commit7d506f7bebbcc3b5f8a37589f8fda6fa1e7e1efd (patch)
tree0062f28ee7723d809d87a481c7d7c4e1c1499330
parent36db5ddad0183c21444246d5ab55a6b44de8b529 (diff)
downloadlibquotient-7d506f7bebbcc3b5f8a37589f8fda6fa1e7e1efd.tar.gz
libquotient-7d506f7bebbcc3b5f8a37589f8fda6fa1e7e1efd.zip
splitMediaId: fix typos in the assertion failure message
-rw-r--r--connection.cpp4
1 files 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;
}