mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-08-09 02:56:01 +08:00
Changed Window pointer ui tp QScopedPointer #95
Removed some default constructors from Member initializer list Made member m_coreRuntime QScopedPointer
This commit is contained in:
@@ -96,7 +96,7 @@ void MainWindow::init(GuiModes::CoreMode coreMode)
|
||||
}
|
||||
else
|
||||
{
|
||||
this->m_coreRuntime = new CCoreRuntime(false, this);
|
||||
this->m_coreRuntime.reset(new CCoreRuntime(false, this));
|
||||
this->m_contextNetwork = this->m_coreRuntime->getIContextNetwork();
|
||||
this->m_contextVoice = this->m_coreRuntime->getIContextVoice();
|
||||
this->m_contextSettings = this->m_coreRuntime->getIContextSettings();
|
||||
|
||||
Reference in New Issue
Block a user