VirtualBox

Ignore:
Timestamp:
Feb 27, 2008 8:39:59 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
28490
Message:

Some fixes to size&state restoring mechanism of Info Dlg.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMInformationDlg.ui.h

    r7188 r7190  
    279279        {
    280280            languageChangeImp();
     281            break;
     282        }
     283        case QEvent::WindowStateChange:
     284        {
     285            if (mIsPolished)
     286                mMax = isMaximized();
     287            else if (mMax == isMaximized())
     288                mIsPolished = true;
    281289            break;
    282290        }
     
    330338        return;
    331339
    332     mIsPolished = true;
    333 
    334340    /* load window size and state */
    335341    resize (mWidth, mHeight);
    336342    if (mMax)
    337343        QTimer::singleShot (0, this, SLOT (showMaximized()));
     344    else
     345        mIsPolished = true;
    338346
    339347    VBoxGlobal::centerWidget (this, parentWidget());
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette