Details
-
Bug
-
Resolution: Invalid
-
P1: Critical
-
None
-
5.14.1
-
None
-
Windows 8.1 x64
Microsoft Visual Studio Community 2019
Qt Visual Studio Tools 2.4.3
c++
Description
Code:
QFileDialog* fdialog = new QFileDialog();
fdialog->setAcceptMode(QFileDialog::AcceptMode::AcceptSave);
fdialog->exec();
calls Access Violation Exception (0xc0000005).
No matter, either in main function or in other. But it may hapen not every time, sometime it works. But sometimes - not. It looks like program have not enough time to load some stuff to open dialog and then exeption appeares, but when it can load what it wants - it works without problems.
When a set AcceptOpen mode, it works more stable. Without setAcceptMode() it works too.