mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-31 04:38:04 -06:00
Fix compilation issues due to inappropriate QString usage
This commit is contained in:
@@ -215,8 +215,8 @@ namespace
|
||||
break;
|
||||
default:
|
||||
Q_ASSERT_X(false, "processMap"
|
||||
, QString("Unexpected type: %1")
|
||||
.arg(QMetaType::typeName(static_cast<QMetaType::Type>(value.type())))
|
||||
, u"Unexpected type: %1"_qs
|
||||
.arg(QString::fromLatin1(QMetaType::typeName(static_cast<QMetaType::Type>(value.type()))))
|
||||
.toUtf8().constData());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user