From f90440e0f1af05607c479a3a421a8f564e5fd181 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Fri, 7 Oct 2016 14:25:59 +0200 Subject: [PATCH] CComponentsWindow: remove wrong corner assignment Overwrites corner mode for already assigned corner type for body object and previous statement is canceled. This should avoid this. --- src/gui/components/cc_frm_window.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/gui/components/cc_frm_window.cpp b/src/gui/components/cc_frm_window.cpp index 682236278..6d52dd36f 100644 --- a/src/gui/components/cc_frm_window.cpp +++ b/src/gui/components/cc_frm_window.cpp @@ -300,9 +300,6 @@ void CComponentsWindow::initBody() ccw_body->setCornerType(CORNER_TOP); if (!ccw_show_footer) ccw_body->setCornerType(ccw_body->getCornerType() | CORNER_BOTTOM); - if (!ccw_show_header) - ccw_body->setCornerType(CORNER_TOP); - } }