Skip to content

Commit d400fcc

Browse files
committed
Fix compatibility with Qt 5
1 parent 7440f6a commit d400fcc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

syncthingconnector/syncthingconfig.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ QString SyncthingConfig::locateHttpsCertificate()
8787
*/
8888
static QJsonValue xmlValueToJsonValue(QStringView value)
8989
{
90-
if (value == QLatin1StringView("true")) {
90+
if (value == QLatin1String("true")) {
9191
return QJsonValue(true);
92-
} else if (value == QLatin1StringView("false")) {
92+
} else if (value == QLatin1String("false")) {
9393
return QJsonValue(false);
9494
}
9595
auto isNumber = false;

0 commit comments

Comments
 (0)