QmlDesigner: Fix compile for auto tests

Amends ada0c6f405.

Change-Id: I5a092fca7e7ce95d62e36e0efd9135beabccfd65
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Christian Stenger
2018-10-18 07:30:21 +02:00
parent ada0c6f405
commit 9bf4cf485e

View File

@@ -371,7 +371,11 @@ QString PuppetCreator::qmlPuppetDirectory(PuppetType puppetType) const
return qmlPuppetToplevelBuildDirectory() + '/' + QCoreApplication::applicationVersion() return qmlPuppetToplevelBuildDirectory() + '/' + QCoreApplication::applicationVersion()
+ '/' + QString::fromLatin1(qtHash()); + '/' + QString::fromLatin1(qtHash());
#ifndef QMLDESIGNER_TEST
return qmlPuppetFallbackDirectory(m_designerSettings); return qmlPuppetFallbackDirectory(m_designerSettings);
#else
return QString();
#endif
} }
QString PuppetCreator::defaultPuppetFallbackDirectory() QString PuppetCreator::defaultPuppetFallbackDirectory()