forked from qt-creator/qt-creator
ProjectExplorer: Use a data member for BuildStep::runInGuiThread
Change-Id: Ia219fcf595c05c6f1b82f420454bd906c6870ee7 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -60,6 +60,7 @@ IosDeployStep::IosDeployStep(BuildStepList *parent)
|
||||
: BuildStep(parent, Id)
|
||||
{
|
||||
setImmutable(true);
|
||||
setRunInGuiThread(true);
|
||||
updateDisplayNames();
|
||||
connect(DeviceManager::instance(), &DeviceManager::updated,
|
||||
this, &IosDeployStep::updateDisplayNames);
|
||||
|
||||
@@ -72,7 +72,6 @@ private:
|
||||
|
||||
bool init(QList<const BuildStep *> &earlierSteps) override;
|
||||
ProjectExplorer::BuildStepConfigWidget *createConfigWidget() override;
|
||||
bool runInGuiThread() const override { return true; }
|
||||
ProjectExplorer::IDevice::ConstPtr device() const;
|
||||
IosDevice::ConstPtr iosdevice() const;
|
||||
IosSimulator::ConstPtr iossimulator() const;
|
||||
|
||||
Reference in New Issue
Block a user