VirtualBox

Changeset 61241 in vbox for trunk


Ignore:
Timestamp:
May 27, 2016 12:56:05 PM (9 years ago)
Author:
vboxsync
Message:

FE/Qt: Fixing GUI warnings: Some stuff became virtual in Qt5.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIDialog.cpp

    r60362 r61241  
    5151}
    5252
    53 int QIDialog::exec(bool fShow /* = true */, bool fApplicationModal /* = false */)
     53int QIDialog::execute(bool fShow /* = true */, bool fApplicationModal /* = false */)
    5454{
    5555    /* Check for the recursive run: */
  • trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIDialog.h

    r55401 r61241  
    4242public slots:
    4343
    44     /* API: Exec stuff: */
    45     int exec(bool fShow = true, bool fApplicationModal = false);
     44    /** Shows the dialog as a modal dialog, blocking until the user closes it.
     45      * @param  fShow              detemines whether the dialog should be shown instantly.
     46      * @param  fApplicationModal  determine whether the dialog should be application-modal. */
     47    virtual int execute(bool fShow = true, bool fApplicationModal = false);
     48
     49    /** Shows the dialog as a modal dialog, blocking until the user closes it.
     50      * @note  Provided for compatibility with various Qt versions. */
     51    virtual int exec() /* overload for Qt4, override for Qt5 */ { return execute(); }
    4652
    4753protected:
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIProgressDialog.cpp

    r60362 r61241  
    173173
    174174            /* Holds the modal loop, but don't show the window immediately: */
    175             exec(false);
     175            execute(false);
    176176
    177177            /* Are we still valid? */
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