Removed redundant configuration load.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2272 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
9a7c10b13d
commit
76707b5e30
|
@ -1773,8 +1773,7 @@ void QtWindow::doInit()
|
|||
m_id.c_str(),this);
|
||||
|
||||
// Create window's dynamic properties from config
|
||||
Configuration cfg(Engine::configFile(m_oldId));
|
||||
cfg.load(false);
|
||||
Configuration cfg(Engine::configFile(m_oldId),false);
|
||||
NamedList* sectGeneral = cfg.getSection("general");
|
||||
if (sectGeneral)
|
||||
addDynamicProps(wndWidget(),*sectGeneral);
|
||||
|
|
Loading…
Reference in New Issue