- Timestamp:
- May 27, 2016 12:56:05 PM (9 years ago)
- 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 51 51 } 52 52 53 int QIDialog::exec (bool fShow /* = true */, bool fApplicationModal /* = false */)53 int QIDialog::execute(bool fShow /* = true */, bool fApplicationModal /* = false */) 54 54 { 55 55 /* Check for the recursive run: */ -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIDialog.h
r55401 r61241 42 42 public slots: 43 43 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(); } 46 52 47 53 protected: -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIProgressDialog.cpp
r60362 r61241 173 173 174 174 /* Holds the modal loop, but don't show the window immediately: */ 175 exec (false);175 execute(false); 176 176 177 177 /* Are we still valid? */
Note:
See TracChangeset
for help on using the changeset viewer.