forked from qt-creator/qt-creator
QmlPreview: Have a dedicated run worker factory class
More similar to what the rest is doing or heading to. Change-Id: I835ef19810cbce146d3ae22b3881c0e89d1b1fb9 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -138,12 +138,7 @@ public:
|
||||
QString m_localeIsoCode;
|
||||
QmlDebugTranslationClientCreator m_createDebugTranslationClientMethod;
|
||||
|
||||
RunWorkerFactory localRunWorkerFactory{
|
||||
RunWorkerFactory::make<LocalQmlPreviewSupport>(),
|
||||
{Constants::QML_PREVIEW_RUN_MODE},
|
||||
{}, // All runconfig.
|
||||
{Constants::DESKTOP_DEVICE_TYPE}
|
||||
};
|
||||
LocalQmlPreviewSupportFactory localRunWorkerFactory;
|
||||
|
||||
RunWorkerFactory runWorkerFactory{
|
||||
[this](RunControl *runControl) {
|
||||
|
||||
Reference in New Issue
Block a user