diff --git a/autotests/themetest.cpp b/autotests/themetest.cpp index c8182eb68..aa6085a55 100644 --- a/autotests/themetest.cpp +++ b/autotests/themetest.cpp @@ -92,7 +92,7 @@ void ThemeTest::loadSvgIcon() QFileInfo info(iconPath); - QString cacheId = cacheIdHash(Plasma::SvgPrivate::CacheId{48, 48, iconPath, QString(), m_svg->status(), m_svg->devicePixelRatio(), m_svg->scaleFactor(), m_svg->colorGroup(), 0, info.lastModified().toSecsSinceEpoch()}); + QString cacheId = cacheIdHash(Plasma::SvgPrivate::CacheId{48, 48, iconPath, QString(), m_svg->status(), m_svg->devicePixelRatio(), m_svg->scaleFactor(), m_svg->colorGroup(), 0, static_cast(info.lastModified().toSecsSinceEpoch())}); QPixmap result; QVERIFY(m_svg->theme()->findInCache(cacheId, result, info.lastModified().toSecsSinceEpoch()));