Commit 3a9f9d5e authored by Vikas Pachdha's avatar Vikas Pachdha

iOS: Fix stack overflow issue

Change-Id: Ic71e2af2cff41c61c85f4798f06144b36e459448
Reviewed-by: Tobias Hunger's avatarTobias Hunger <tobias.hunger@qt.io>
parent 186ec4e9
......@@ -449,11 +449,13 @@ void IosConfigurations::initializeProvisioningData()
if (m_provisioningDataWatcher)
return;
// Instantiate m_provisioningDataWatcher to mark initialized before calling loadProvisioningData.
m_provisioningDataWatcher = new QFileSystemWatcher(this);
m_instance->loadProvisioningData(false);
// Watch the provisioing profiles folder and xcode plist for changes and
// update the content accordingly.
m_provisioningDataWatcher = new QFileSystemWatcher(this);
m_provisioningDataWatcher->addPath(xcodePlistPath);
m_provisioningDataWatcher->addPath(provisioningProfileDirPath);
connect(m_provisioningDataWatcher, &QFileSystemWatcher::directoryChanged,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment