mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:07:02 +08:00
committed by
Mathew Sutcliffe
parent
660798e43c
commit
f2602a8915
@@ -83,7 +83,7 @@ namespace BlackMisc
|
||||
|
||||
void CUrl::setQuery(const QString &query)
|
||||
{
|
||||
QString q(stripQueryString(query));
|
||||
const QString q(stripQueryString(query));
|
||||
m_query = q;
|
||||
}
|
||||
|
||||
@@ -94,7 +94,7 @@ namespace BlackMisc
|
||||
|
||||
QString CUrl::appendQuery(const QString &queryToAppend)
|
||||
{
|
||||
QString q(stripQueryString(queryToAppend));
|
||||
const QString q(stripQueryString(queryToAppend));
|
||||
if (q.isEmpty()) { return m_query; }
|
||||
if (!hasQuery())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user