Answer the question
In order to leave comments, you need to log in
Why does QFileDialog stay under QWidget?
Hi all.
Last week I switched from QGLWidget to QOpenGlWidget and noticed a bug that dialog. the window does not appear on the screen. And it remains as I understand it under the main program window.
If I put a breakpoint on the opening line of the dialog. window, everything works as it should.
How can I fix this problem?
initFilePath = QFileDialog::getOpenFileName(this, tr("Open Ini"),
"C:\\Users\\yuliia\\Documents\\Visual Studio 2013\\Projects\\XPlanQt\\trunk\\res", tr("ini Files (*.ini)"));
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question