diff --git a/tests/networkpackagetests.cpp b/tests/networkpackagetests.cpp index 0214a7cf3..9bddf1a7b 100644 --- a/tests/networkpackagetests.cpp +++ b/tests/networkpackagetests.cpp @@ -34,7 +34,7 @@ void NetworkPackageTests::initTestCase() void NetworkPackageTests::dummyTest() { QDate date; - date.setYMD( 1967, 3, 11 ); + date.setDate( 1967, 3, 11 ); QVERIFY( date.isValid() ); QCOMPARE( date.month(), 3 ); QCOMPARE( QDate::longMonthName(date.month()), QString("March") );