[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/krecipes/src/widgets
From: Jason Kivlighn <confederacy2 () excite ! com>
Date: 2004-01-08 20:40:28
Message-ID: 20040108204028.DFC4B608E () office ! kde ! org
[Download RAW message or body]
CVS commit by jkivlighn:
Thanks Aaron for pointing this out :) I wasn't sure if it was necessary, and turns out it wasn't.
M +3 -3 kremenu.cpp 1.23
--- kdenonbeta/krecipes/src/widgets/kremenu.cpp #1.22:1.23
@@ -344,5 +344,5 @@ setCursor(QCursor(KCursor::handCursor())
KreMenuButton::~KreMenuButton()
{
- if ( icon ) delete icon;
+ delete icon;
}
@@ -516,5 +516,5 @@ if (!isShown()) return;
void KreMenuButton::setIconSet(const QIconSet &is)
{
- if ( icon ) delete icon;
+ delete icon;
icon = new QPixmap(is.pixmap(QIconSet::Small,QIconSet::Normal,QIconSet::On));
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic