mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
Ref T28, minor improvements
This commit is contained in:
committed by
Mathew Sutcliffe
parent
c3ed0bc394
commit
c0320609b3
@@ -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;
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace BlackMisc
|
||||
QDateTime ITimestampBased::getUtcTimestamp() const
|
||||
{
|
||||
if (this->m_timestampMSecsSinceEpoch < 0) { return QDateTime(); }
|
||||
return QDateTime::fromMSecsSinceEpoch(this->m_timestampMSecsSinceEpoch, Qt::UTC);
|
||||
return QDateTime::fromMSecsSinceEpoch(this->m_timestampMSecsSinceEpoch);
|
||||
}
|
||||
|
||||
void ITimestampBased::setTimestampToNull()
|
||||
|
||||
Reference in New Issue
Block a user