diff options
Diffstat (limited to 'src/kbfxplasmacanvasitem.cpp')
| -rw-r--r-- | src/kbfxplasmacanvasitem.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kbfxplasmacanvasitem.cpp b/src/kbfxplasmacanvasitem.cpp index 0c18256..b65959e 100644 --- a/src/kbfxplasmacanvasitem.cpp +++ b/src/kbfxplasmacanvasitem.cpp @@ -266,7 +266,7 @@ KbfxPlasmaCanvasItem::drawContent ( TQPainter * pe ) m_height = cp->height(); m_width = cp->width(); //Draw the Background - if ( m_skined == true ) + if ( m_skined ) { pe->drawPixmap ( this->boundingRect (), *cp ); @@ -314,9 +314,9 @@ KbfxPlasmaCanvasItem::drawContent ( TQPainter * pe ) if ( this->type() == EXECUTABLE ) { pe->setPen ( m_fontAppNameColor ); - if ( m_noComments == false ) + if ( !m_noComments ) { - if ( m_isCurrent && m_boldFonts == true ) { _font->setBold ( true );pe->setFont ( *_font ); } + if ( m_isCurrent && m_boldFonts ) { _font->setBold ( true );pe->setFont ( *_font ); } pe->drawText ( *rectTop, TQt::AlignLeft| TQt::AlignBottom ,TQString ( m_labelText ), -1, &tmp ); pe->setPen ( m_lineColor ); pe->drawLine ( m_margin, ( int ) y() + rectTop->height(), ( int ) cp->width() - 2, ( int ) y() + rectTop->height() ); |
