Remove unnecessary QFrame.