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:
paulc 2008-10-20 12:36:15 +00:00
parent 9a7c10b13d
commit 76707b5e30
1 changed files with 1 additions and 2 deletions

View File

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