Enclose literal strings in a QStringLiteral("")

Bug #1573791 reported by Dubstar_04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ownCloud-sync
New
Low
Dubstar_04

Bug Description

http://doc.qt.io/qt-5/qstring.html#QStringLiteral

https://github.com/dubstar-04/owncloud-sync/blob/master/Owncloud-Sync/OwncloudSyncd/owncloudsyncd.cpp#L208

QStringLiteral("/remote.php/webdav")

Consider using QStringBuilder:

#include

QString remotePath = (protocol % m_serverURL % QStringLiteral("/remote.php/webdav") % m_folderMap.value(localPath));

Dubstar_04 (dubstar-04)
Changed in owncloud-sync:
assignee: nobody → Dubstar_04 (dubstar-04)
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.