VirtualBox

Changeset 43763 in vbox


Ignore:
Timestamp:
Oct 29, 2012 7:44:54 AM (12 years ago)
Author:
vboxsync
Message:

FE/Qt: QIFileDialog is now using direct call to default Qt QFileDialog::getSaveFileName() [win host].

File:
1 edited

Legend:

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

    r38478 r43763  
    405405#if defined Q_WS_WIN
    406406
     407    /* Further code (WinAPI call to GetSaveFileName() in other thread)
     408     * seems not necessary any more since the MS COM issue has been fixed,
     409     * we can just call for the default QFileDialog::getSaveFileName(): */
     410    Q_UNUSED(aResolveSymlinks);
     411    QFileDialog::Options o;
     412    if (!fConfirmOverwrite)
     413        o |= QFileDialog::DontConfirmOverwrite;
     414    return QFileDialog::getSaveFileName(aParent, aCaption, aStartWith,
     415                                        aFilters, aSelectedFilter, o);
     416
    407417    /**
    408418     *  QEvent class reimplementation to carry Win32 API native dialog's
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