After call to QMainWindow::setUnifiedTitleAndToolBarOnMac (not matter true or false) the title bar of the window is now lighter and popup child dialogs are now much lower than they should be.
Please see the difference.
PS. The title bar is also very light when there's NO popup child dialog (like on the screenshots). Hotizontal line is also not displayed.