[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeedu/marble/src/lib/graphicsview
From: Laurent Montel <montel () kde ! org>
Date: 2009-09-12 12:12:01
Message-ID: 1252757521.502819.14675.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1022743 by mlaurent:
Fix mem leak
M +5 -0 LabelGraphicsItem.cpp
M +1 -0 LabelGraphicsItem.h
--- trunk/KDE/kdeedu/marble/src/lib/graphicsview/LabelGraphicsItem.cpp #1022742:1022743
@@ -61,6 +61,11 @@
{
}
+LabelGraphicsItem::~LabelGraphicsItem()
+{
+ delete d;
+}
+
QString LabelGraphicsItem::text() const
{
return d->m_text;
--- trunk/KDE/kdeedu/marble/src/lib/graphicsview/LabelGraphicsItem.h #1022742:1022743
@@ -32,6 +32,7 @@
{
public:
explicit LabelGraphicsItem( MarbleGraphicsItem *parent = 0 );
+ ~LabelGraphicsItem();
QString text() const;
void setText( const QString& text );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic