diff options
Diffstat (limited to 'src/Authoring/Studio/Utils/ResourceCache.cpp')
-rw-r--r-- | src/Authoring/Studio/Utils/ResourceCache.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Authoring/Studio/Utils/ResourceCache.cpp b/src/Authoring/Studio/Utils/ResourceCache.cpp index a4d4ea98..c51a01f0 100644 --- a/src/Authoring/Studio/Utils/ResourceCache.cpp +++ b/src/Authoring/Studio/Utils/ResourceCache.cpp @@ -80,12 +80,12 @@ QPixmap CResourceCache::GetBitmap(const QString &inName) if (thePos != m_Images.end()) { theImage = thePos->second; } else { - const QString resPath = QString("%1%2").arg(resourceImagePath(), inName); - if (theImage.load(resPath)) { + const QString resPath = QStringLiteral("%1%2").arg(StudioUtils::resourceImagePath(), + inName); + if (theImage.load(resPath)) m_Images[inName] = theImage; - } else { + else qWarning() << Q_FUNC_INFO << "missing image at path:" << resPath; - } } } return theImage; |