[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeplasma-addons/applets/nowplaying
From: Laurent Montel <montel () kde ! org>
Date: 2008-09-09 11:51:00
Message-ID: 1220961060.282064.1516.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 859097 by mlaurent:
Fix potential mem leak
M +8 -8 infopanel.cpp
--- trunk/KDE/kdeplasma-addons/applets/nowplaying/infopanel.cpp #859096:859097
@@ -25,14 +25,14 @@
InfoPanel::InfoPanel(QGraphicsWidget *parent)
: QGraphicsWidget(parent),
- m_artistLabel(new Plasma::Label),
- m_titleLabel(new Plasma::Label),
- m_albumLabel(new Plasma::Label),
- m_timeLabel(new Plasma::Label),
- m_artistText(new Plasma::Label),
- m_titleText(new Plasma::Label),
- m_albumText(new Plasma::Label),
- m_timeText(new Plasma::Label),
+ m_artistLabel(new Plasma::Label(this)),
+ m_titleLabel(new Plasma::Label(this)),
+ m_albumLabel(new Plasma::Label(this)),
+ m_timeLabel(new Plasma::Label(this)),
+ m_artistText(new Plasma::Label(this)),
+ m_titleText(new Plasma::Label(this)),
+ m_albumText(new Plasma::Label(this)),
+ m_timeText(new Plasma::Label(this)),
m_layout(new QGraphicsGridLayout)
{
m_layout->setColumnStretchFactor(0, 0);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic