Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 540b9d13 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Fix build, remove some implicit QString casts

parent bb760c77
......@@ -214,7 +214,7 @@ void SeccompTest::testMknod()
void SeccompTest::testChmod()
{
QVERIFY(!QFile::setPermissions(existingFileChar, QFileDevice::ExeOwner));
QVERIFY(!QFile::setPermissions(QLatin1String(existingFileChar), QFileDevice::ExeOwner));
#ifdef SYS_chmod
QVERIFY(syscall(SYS_chmod, existingFileChar, S_IRWXU) == -1 && errno == EPERM);
#endif
......@@ -259,8 +259,7 @@ void SeccompTest::testNetworkAccess()
{
QNetworkAccessManager manager;
QFETCH(QString, url);
QNetworkRequest request(url);
auto reply = manager.get(request);
auto reply = manager.get(QNetworkRequest(QUrl(url)));
QVERIFY(reply);
QSignalSpy finishedSpy(reply, &QNetworkReply::finished);
QVERIFY(finishedSpy.isValid());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment