From 489d07c0eb85436a8dac54f136cefe2c228130a3 Mon Sep 17 00:00:00 2001 From: Jimi Huotari Date: Wed, 25 Sep 2019 12:19:18 +0300 Subject: [PATCH] refactor(Qt): use 'QLatin1String' instead of 'QLatin1Literal' part 2 This is required when building against Qt 5.14. --- test/model/messageprocessor_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/model/messageprocessor_test.cpp b/test/model/messageprocessor_test.cpp index 93cc701a4..439dda4b6 100644 --- a/test/model/messageprocessor_test.cpp +++ b/test/model/messageprocessor_test.cpp @@ -54,8 +54,8 @@ private slots: void TestMessageProcessor::testSelfMention() { MessageProcessor::SharedParams sharedParams; - const QLatin1Literal testUserName{"MyUserName"}; - const QLatin1Literal testToxPk{ + const QLatin1String testUserName{"MyUserName"}; + const QLatin1String testToxPk{ "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF"}; sharedParams.onUserNameSet(testUserName); sharedParams.setPublicKey(testToxPk);