Call QObject::metaObject

This commit is contained in:
Jonas Kvinge
2025-01-17 09:08:59 +01:00
parent 726c105ed6
commit e6a0945dfa
20 changed files with 20 additions and 20 deletions

View File

@@ -64,7 +64,7 @@ MoodbarLoader::MoodbarLoader(QObject *parent)
kMaxActiveRequests(qMax(1, QThread::idealThreadCount() / 2)),
save_(false) {
setObjectName(QLatin1String(metaObject()->className()));
setObjectName(QLatin1String(QObject::metaObject()->className()));
thread_->setObjectName(objectName());
cache_->setCacheDirectory(StandardPaths::WritableLocation(StandardPaths::StandardLocation::CacheLocation) + u"/moodbar"_s);