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:
Klaus Basan
2014-01-15 19:33:28 +01:00
parent 4c711dad82
commit 9f103a35cc
7 changed files with 17 additions and 23 deletions

View File

@@ -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();