forked from qt-creator/qt-creator
qmlpreview: remove redundant set QT_MULTILANGUAGE_DATABASE
already done in the environment modifier method at qmlprojectrunconfiguration.cpp Change-Id: Ibd1e2ffb94bec23e709d9155b032bb358b7f4a0c Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
@@ -153,11 +153,6 @@ LocalQmlPreviewSupport::LocalQmlPreviewSupport(ProjectExplorer::RunControl *runC
|
||||
}
|
||||
}
|
||||
|
||||
if (auto multiLanguageAspect = runControl->aspect<QmlProjectManager::QmlMultiLanguageAspect>()) {
|
||||
if (!multiLanguageAspect->databaseFilePath().isEmpty())
|
||||
runnable.environment.set("QT_MULTILANGUAGE_DATABASE", multiLanguageAspect->databaseFilePath().toString());
|
||||
}
|
||||
|
||||
Utils::QtcProcess::addArg(&runnable.commandLineArguments,
|
||||
QmlDebug::qmlDebugLocalArguments(QmlDebug::QmlPreviewServices,
|
||||
serverUrl.path()));
|
||||
|
Reference in New Issue
Block a user