diff options
Diffstat (limited to 'tests/auto/other')
-rw-r--r-- | tests/auto/other/lancelot/tst_lancelot.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/other/lancelot/tst_lancelot.cpp b/tests/auto/other/lancelot/tst_lancelot.cpp index 7c0d809c01..1f0066eebb 100644 --- a/tests/auto/other/lancelot/tst_lancelot.cpp +++ b/tests/auto/other/lancelot/tst_lancelot.cpp @@ -130,7 +130,7 @@ void tst_Lancelot::initTestCase() file.open(QFile::ReadOnly); QByteArray cont = file.readAll(); scripts.insert(fileName, QString::fromUtf8(cont).split(QLatin1Char('\n'), Qt::SkipEmptyParts)); - scriptChecksums.insert(fileName, qChecksum(cont.constData(), cont.size())); + scriptChecksums.insert(fileName, qChecksum(cont)); } } |