Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.5.2
-
None
Description
1. For QFileDialog::setWindowIcon, it not work when no QFileDialog::DontUseNativeDialog option, which is the default options, for example:
QFileDialog dialog; dialog.setWindowIcon(a.style()->standardIcon(QStyle::SP_ComputerIcon)); dialog.exec();
2. For QFileDIalog::show, it always work as widget-based implementation no matter QFileDialog::DontUseNativeDialog is set or not, for example:
auto* dialog = new QFileDialog(); dialog->setOption(QFileDialog::DontUseNativeDialog, false); dialog->show();
I test it in 5.15.2 and 6.5.2, they have same mistakes.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-121671 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
536303,8 | Windows QPA: Respect user set QIcon for native QFileDialogs | dev | qt/qtbase | Status: NEW | +2 | 0 |