VirtualBox

Changeset 54954 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 25, 2015 6:17:26 PM (10 years ago)
Author:
vboxsync
Message:

FE/Qt: Machine settings Serializer: Cleanup rework to prepare to the encryption settings integration (step 12): Disable the possibility to cancel save-settings progress.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/UISettingsSerializer.cpp

    r54952 r54954  
    234234}
    235235
     236void UISettingsSerializerProgress::closeEvent(QCloseEvent *pEvent)
     237{
     238    /* No need to close the dialog: */
     239    pEvent->ignore();
     240}
     241
     242void UISettingsSerializerProgress::reject()
     243{
     244    /* No need to reject the dialog. */
     245}
     246
    236247void UISettingsSerializerProgress::sltStartProcess()
    237248{
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/UISettingsSerializer.h

    r54952 r54954  
    160160    void retranslateUi();
    161161
     162    /** Close event-handler called with the given window system @a pEvent. */
     163    virtual void closeEvent(QCloseEvent *pEvent);
     164
    162165private slots:
     166
     167    /** Hides the modal dialog and sets the result code to <i>Rejected</i>. */
     168    virtual void reject();
    163169
    164170    /** Starts the process. */
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