Browse Source

refactor(Qt): use 'QLatin1String' instead of 'QLatin1Literal' part 2

This is required when building against Qt 5.14.
reviewable/pr5871/r4
Jimi Huotari 6 years ago committed by Anthony Bilinski
parent
commit
489d07c0eb
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C
  1. 4
      test/model/messageprocessor_test.cpp

4
test/model/messageprocessor_test.cpp

@ -54,8 +54,8 @@ private slots: @@ -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);

Loading…
Cancel
Save