diff --git a/gb.qt4/src/CLabel.cpp b/gb.qt4/src/CLabel.cpp index 1330bf9c6..66f61f1d5 100644 --- a/gb.qt4/src/CLabel.cpp +++ b/gb.qt4/src/CLabel.cpp @@ -397,7 +397,7 @@ void MySeparator::paintEvent( QPaintEvent * ) { QPainter p(this); - //if (width() == 1 || height() == 1) + if (width() == 1 || height() == 1) { p.setPen(CCOLOR_light_foreground()); if (width() >= height()) @@ -405,7 +405,7 @@ void MySeparator::paintEvent( QPaintEvent * ) else p.drawLine(width() / 2, 0, width() / 2, height() - 1); } - /*else + else { QStyleOption opt; @@ -417,6 +417,6 @@ void MySeparator::paintEvent( QPaintEvent * ) opt.state |= QStyle::State_Horizontal; style()->drawPrimitive(QStyle::PE_IndicatorToolBarSeparator, &opt, &p); - }*/ + } }