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:
marian 2009-05-20 09:28:19 +00:00
parent 4eb98ad04d
commit a59623581f
1 changed files with 1 additions and 1 deletions

View File

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