qt: FirstRun dialog must be destroyed before closing the application
FirstRun dialog used Qt::WA_DeleteOnClose, it lifecycle would be bound to the QApplication. On close the firstrun dialog will save some changes to the preferences. So we need to ensure the dialog is properly destroyed before the context becomes invalid when closing the application. this commit updates 3895e912 which got reverted in a39d1755
parent
a95365ba
No related branches found
No related tags found
Showing
- modules/gui/qt/dialogs/dialogs_provider.cpp 9 additions, 0 deletionsmodules/gui/qt/dialogs/dialogs_provider.cpp
- modules/gui/qt/dialogs/dialogs_provider.hpp 1 addition, 0 deletionsmodules/gui/qt/dialogs/dialogs_provider.hpp
- modules/gui/qt/dialogs/firstrun/firstrunwizard.cpp 0 additions, 1 deletionmodules/gui/qt/dialogs/firstrun/firstrunwizard.cpp
- modules/gui/qt/dialogs/firstrun/firstrunwizard.hpp 5 additions, 4 deletionsmodules/gui/qt/dialogs/firstrun/firstrunwizard.hpp
- modules/gui/qt/maininterface/main_interface.cpp 8 additions, 0 deletionsmodules/gui/qt/maininterface/main_interface.cpp
Loading
Please register or sign in to comment