aboutsummaryrefslogtreecommitdiff
path: root/converters.h
diff options
context:
space:
mode:
Diffstat (limited to 'converters.h')
-rw-r--r--converters.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/converters.h b/converters.h
index 00d1d339..0d7f734e 100644
--- a/converters.h
+++ b/converters.h
@@ -46,11 +46,7 @@ namespace QMatrixClient
inline QJsonValue toJson(const QByteArray& bytes)
{
-#if QT_VERSION < QT_VERSION_CHECK(5, 3, 0)
- return QJsonValue(QLatin1String(bytes.constData()));
-#else
return QJsonValue(bytes.constData());
-#endif
}
template <typename T>