Ref T28, minor improvements

This commit is contained in:
Klaus Basan
2017-05-04 01:47:58 +02:00
committed by Mathew Sutcliffe
parent c3ed0bc394
commit c0320609b3
2 changed files with 2 additions and 1 deletions

View File

@@ -94,6 +94,7 @@ namespace BlackMisc
QString CUrl::appendQuery(const QString &queryToAppend)
{
if (queryToAppend.isEmpty()) { return m_query; }
const QString q(stripQueryString(queryToAppend));
if (q.isEmpty()) { return m_query; }
m_query += hasQuery() ? "&" + q : q;