memory leak--
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851461
This commit is contained in:
parent
ffd9d8f796
commit
9293cbaba6
@ -447,6 +447,11 @@ DataEnginePrivate::DataEnginePrivate(DataEngine* e, KService::Ptr service)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DataEnginePrivate::~DataEnginePrivate()
|
||||||
|
{
|
||||||
|
delete package;
|
||||||
|
}
|
||||||
|
|
||||||
void DataEnginePrivate::internalUpdateSource(DataContainer* source)
|
void DataEnginePrivate::internalUpdateSource(DataContainer* source)
|
||||||
{
|
{
|
||||||
if (minPollingInterval > 0 &&
|
if (minPollingInterval > 0 &&
|
||||||
|
@ -32,6 +32,7 @@ class DataEnginePrivate
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
DataEnginePrivate(DataEngine* e, KService::Ptr service);
|
DataEnginePrivate(DataEngine* e, KService::Ptr service);
|
||||||
|
~DataEnginePrivate();
|
||||||
DataContainer* source(const QString& sourceName, bool createWhenMissing = true);
|
DataContainer* source(const QString& sourceName, bool createWhenMissing = true);
|
||||||
void connectSource(DataContainer* s, QObject* visualization, uint pollingInterval,
|
void connectSource(DataContainer* s, QObject* visualization, uint pollingInterval,
|
||||||
Plasma::IntervalAlignment align, bool immediateCall = true);
|
Plasma::IntervalAlignment align, bool immediateCall = true);
|
||||||
|
Loading…
Reference in New Issue
Block a user