Changeset 31191 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jul 29, 2010 7:45:42 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIFileDialog.cpp
r31187 r31191 366 366 367 367 QFileDialog::Options o; 368 # if defined (Q_WS_X11) 369 if (vboxGlobal().isKWinManaged()) 370 o |= QFileDialog::DontUseNativeDialog; 371 # endif 368 372 if (aDirOnly) 369 o = QFileDialog::ShowDirsOnly;373 o |= QFileDialog::ShowDirsOnly; 370 374 if (!aResolveSymlinks) 371 375 o |= QFileDialog::DontResolveSymlinks; … … 574 578 575 579 QFileDialog::Options o; 580 # if defined (Q_WS_X11) 581 if (vboxGlobal().isKWinManaged()) 582 o |= QFileDialog::DontUseNativeDialog; 583 # endif 576 584 if (!aResolveSymlinks) 577 585 o |= QFileDialog::DontResolveSymlinks; … … 818 826 if (!aResolveSymlinks) 819 827 o |= QFileDialog::DontResolveSymlinks; 820 821 828 # if defined (Q_WS_X11) 822 829 if (vboxGlobal().isKWinManaged()) 823 830 o |= QFileDialog::DontUseNativeDialog; 824 831 # endif 832 825 833 if (aSingleFile) 826 834 return QStringList() << QFileDialog::getOpenFileName (aParent, aCaption, aStartWith,
Note:
See TracChangeset
for help on using the changeset viewer.