J
J
Julia2017-03-20 11:45:38
Qt
Julia, 2017-03-20 11:45:38

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)"));

Thanks for the help
QT version 5.8

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question