┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorMéven Car <[email protected]>2025-10-21 12:52:25 +0200
committerMéven Car <[email protected]>2025-10-21 12:52:25 +0200
commitd7dc3253d5b475b63811c1a6ded907a99e68059b (patch)
treedf4feba6e88caecaf27d4a86cf473fe2df119ef2 /src/tests
parentfcc9b11db63b715b1e27475545a4b92b763c9ed0 (diff)
Fix a couple compiler warnings
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/dolphinmainwindowtest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/dolphinmainwindowtest.cpp b/src/tests/dolphinmainwindowtest.cpp
index ac7c14432..ce9643fa0 100644
--- a/src/tests/dolphinmainwindowtest.cpp
+++ b/src/tests/dolphinmainwindowtest.cpp
@@ -102,13 +102,13 @@ void DolphinMainWindowTest::testSyncDesktopAndPhoneUi()
QDomDocument desktopUi;
QFile desktopUiXmlFile(":/kxmlgui5/dolphin/dolphinui.rc");
- desktopUiXmlFile.open(QIODevice::ReadOnly);
+ QVERIFY2(desktopUiXmlFile.open(QIODevice::ReadOnly), qPrintable(QStringLiteral("couldn't open %1").arg(desktopUiXmlFile.fileName())));
desktopUi.setContent(&desktopUiXmlFile);
desktopUiXmlFile.close();
QDomDocument phoneUi;
QFile phoneUiXmlFile(":/kxmlgui5/dolphin/dolphinuiforphones.rc");
- phoneUiXmlFile.open(QIODevice::ReadOnly);
+ QVERIFY2(phoneUiXmlFile.open(QIODevice::ReadOnly), qPrintable(QStringLiteral("couldn't open %1").arg(phoneUiXmlFile.fileName())));
phoneUi.setContent(&phoneUiXmlFile);
phoneUiXmlFile.close();