Fix windows build failing due to narrowing cast
NO_CHANGELOG
This commit is contained in:
parent
296ab6421b
commit
2864f99dc5
@ -92,7 +92,7 @@ void ThemeTest::loadSvgIcon()
|
|||||||
|
|
||||||
QFileInfo info(iconPath);
|
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<uint>(info.lastModified().toSecsSinceEpoch())});
|
||||||
|
|
||||||
QPixmap result;
|
QPixmap result;
|
||||||
QVERIFY(m_svg->theme()->findInCache(cacheId, result, info.lastModified().toSecsSinceEpoch()));
|
QVERIFY(m_svg->theme()->findInCache(cacheId, result, info.lastModified().toSecsSinceEpoch()));
|
||||||
|
Loading…
Reference in New Issue
Block a user