From 25f7aba43d0f4ca38167dd686ae0efd8c89cc5d4 Mon Sep 17 00:00:00 2001 From: Zhangzhi Hu Date: Wed, 30 Oct 2024 00:18:57 +0800 Subject: refactor: replace QString() with QStringLiteral() for better performance --- src/tests/dolphinmainwindowtest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests/dolphinmainwindowtest.cpp') diff --git a/src/tests/dolphinmainwindowtest.cpp b/src/tests/dolphinmainwindowtest.cpp index 61a72ad51..8fd5be7cb 100644 --- a/src/tests/dolphinmainwindowtest.cpp +++ b/src/tests/dolphinmainwindowtest.cpp @@ -749,7 +749,7 @@ void DolphinMainWindowTest::testAccessibilityAncestorTree() } while (accessibleInterface != accessibleInterfaceOfMainWindow) { QVERIFY2(accessibleInterface, - qPrintable(QString("%1's accessibleInterface or one of its accessible children doesn't have the main window as an ancestor.") + qPrintable(QStringLiteral("%1's accessibleInterface or one of its accessible children doesn't have the main window as an ancestor.") .arg(currentlyFocusedObject->metaObject()->className()))); accessibleInterface = accessibleInterface->parent(); } -- cgit v1.3