Try to match window name with old id when setting its flags.

git-svn-id: http://yate.null.ro/svn/yate/trunk@2543 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
marian 2009-03-26 09:56:19 +00:00
parent f6cc597f1c
commit 8eaec1e72a
1 changed files with 1 additions and 1 deletions

View File

@ -1866,7 +1866,7 @@ bool QtWindow::eventFilter(QObject* obj, QEvent* event)
bool ok = true;
bool handled = true;
if (prop == s_propWindowFlags) {
QWidget* wid = (name == m_id) ? this : w.widget();
QWidget* wid = (name == m_id || name == m_oldId) ? this : w.widget();
// Set window flags from enclosed widget:
// custom window title/border/sysmenu config
ObjList* f = value.split(',',false);