fix nonmodal dialogs going behind main window in linux

notes:
was okay in windows
wnd position is not preserved on hiding via Close event now, requires extra handling, as in class RotateDialog or g_guiSettings (no much critical cases exist)
min max buttons aren't shown (when requested) in Ubuntu, shown in Windows; were shown for Qt::Window flag
This commit is contained in:
Garux
2022-10-31 15:16:53 +03:00
parent 5ce090b8c7
commit f7b9e7e482
17 changed files with 36 additions and 36 deletions

View File

@@ -841,7 +841,7 @@ protected:
#include "qe3.h"
EMessageBoxReturn BuildMenuDialog_construct( ProjectList& projectList ){
QDialog dialog( MainFrame_getWindow(), Qt::Window | Qt::CustomizeWindowHint | Qt::WindowCloseButtonHint );
QDialog dialog( MainFrame_getWindow(), Qt::Dialog | Qt::WindowCloseButtonHint );
dialog.setWindowTitle( "Build Menu" );
QTreeWidget* buildView = nullptr;