Don't move/resize a maximized window when showing it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2633 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
4eb98ad04d
commit
a59623581f
|
@ -2061,7 +2061,7 @@ void QtWindow::keyPressEvent(QKeyEvent* event)
|
|||
// Show hide window. Notify the client
|
||||
void QtWindow::setVisible(bool visible)
|
||||
{
|
||||
if (visible) {
|
||||
if (visible && !isMaximized()) {
|
||||
QWidget::move(m_x,m_y);
|
||||
resize(m_width,m_height);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue