Skip to content

Commit

Permalink
Gui tests: fix compilation issue with expected QString rather char *
Browse files Browse the repository at this point in the history
  • Loading branch information
dmaslenko committed Feb 6, 2023
1 parent 7c0b14b commit bf976b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/gui/TestGui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1920,7 +1920,7 @@ void TestGui::statusBarLabelShouldBe(const char* expectedText)
Tools::wait(300);
auto* statusBarLabel = m_mainWindow->findChild<QLabel*>("statusBarLabel");
QVERIFY2(statusBarLabel->isVisible(), "StatusBarLabel is to be visible");
QCOMPARE(statusBarLabel->text(), expectedText);
QCOMPARE(statusBarLabel->text(), QString(expectedText));
}

void TestGui::triggerAction(const QString& name)
Expand Down

0 comments on commit bf976b0

Please sign in to comment.