forked from qt-creator/qt-creator
Revert "qmlpuppet: do not set an empty QT_MULTILANGUAGE_DATABASE"
This reverts commit 00b54f7faf
.
Not sure why this was necessary - but it introduced a problem
which needs a restart of the puppet - so it is easier to revert it.
Change-Id: I4664b57eefc961ac814e4594b28bbd155be21042
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
@@ -514,7 +514,7 @@ QProcessEnvironment PuppetCreator::processEnvironment() const
|
||||
|
||||
if (auto *rc = m_target->activeRunConfiguration()) {
|
||||
if (auto multiLanguageAspect = rc->aspect<QmlProjectManager::QmlMultiLanguageAspect>()) {
|
||||
if (multiLanguageAspect->value() && !multiLanguageAspect->databaseFilePath().isEmpty())
|
||||
if (!multiLanguageAspect->databaseFilePath().isEmpty())
|
||||
environment.set("QT_MULTILANGUAGE_DATABASE", multiLanguageAspect->databaseFilePath().toString());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user