Do not alter the toolbars of QMainWindows that are not windows
It can happen that an application uses a QMainWindow in its widget hierachy for its features but does not correspond to an actual window. Only alter those toolbars for the unified look whose QMainWindows are actual windows and as such have a window decoration. BUG:427410