VirtualBox

Changeset 54936 in vbox


Ignore:
Timestamp:
Mar 24, 2015 6:59:07 PM (10 years ago)
Author:
vboxsync
Message:

FE/Qt: Machine settings Serializer: Cleanup rework to prepare to the encryption settings integration (step 9): Make the save-settings progress-dialog to be the window modal, which also means Mac OS X sheet.

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIAddDiskEncryptionPasswordDialog.cpp

    r54935 r54936  
    399399    /* Prepare: */
    400400    prepare();
    401     /* Retranslate: */
     401    /* Translate: */
    402402    retranslateUi();
    403403}
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/UISettingsSerializer.cpp

    r54932 r54936  
    172172                                                           const QVariant &data, const UISettingsPageList &pages)
    173173    : QIWithRetranslateUI<QProgressDialog>(pParent)
    174     , m_pSerializer(0)
    175174    , m_direction(direction)
    176175    , m_data(data)
    177176    , m_pages(pages)
     177    , m_pSerializer(0)
    178178{
    179179    /* Prepare: */
    180180    prepare();
    181 
    182181    /* Translate: */
    183182    retranslateUi();
     
    201200void UISettingsSerializerProgress::prepare()
    202201{
     202    /* Configure self: */
     203    setWindowModality(Qt::WindowModal);
     204    setCancelButton(0);
     205
    203206    /* Create serializer: */
    204207    m_pSerializer = new UISettingsSerializer(this, m_direction, m_data, m_pages);
Note: See TracChangeset for help on using the changeset viewer.

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