Fixed a bug that made the Server window stop updating
Minimizing the Server Window on OSX stopped it from ever being refreshed. Added a line to call show() when a changeEvent is recieved and the window is not minimized.
This commit is contained in:
parent
4ebcaab5d7
commit
6ab24e09a0
1 changed files with 6 additions and 0 deletions
|
@ -762,5 +762,11 @@ void CServerDlg::changeEvent ( QEvent* pEvent )
|
||||||
// the timer for this purpose
|
// the timer for this purpose
|
||||||
QTimer::singleShot ( 0, this, SLOT ( hide() ) );
|
QTimer::singleShot ( 0, this, SLOT ( hide() ) );
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// we have to call the show function from another thread -> use
|
||||||
|
// the timer for this purpose
|
||||||
|
QTimer::singleShot ( 0, this, SLOT ( show() ) );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue