Don't put a debug message when a temporary (not saved) window is not found in config.

git-svn-id: http://yate.null.ro/svn/yate/trunk@3340 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
marian 2010-05-25 14:00:41 +00:00
parent 511ff7250e
commit a828ee88df
1 changed files with 3 additions and 2 deletions

View File

@ -2521,8 +2521,9 @@ void QtWindow::doInit()
m_visible = sect->getBoolValue("visible");
}
else {
Debug(QtDriver::self(),DebugNote,"Window(%s) not found in config [%p]",
m_id.c_str(),this);
if (m_saveOnClose)
Debug(QtDriver::self(),DebugNote,"Window(%s) not found in config [%p]",
m_id.c_str(),this);
m_visible = s_cfg.getBoolValue(m_oldId,"visible");
}
m_visible = m_mainWindow || m_visible;