mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-25 00:54:39 +03:00
memory leak fixed
This commit is contained in:
parent
17aac3789e
commit
32d8581672
@ -205,6 +205,13 @@ ScriptHighlighter::ScriptHighlighter(QTextDocument* parent):
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TextBlockData::~TextBlockData()
|
||||||
|
{
|
||||||
|
foreach(ParenthesisInfo* info, m_parentheses){
|
||||||
|
delete info;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
QVector<ParenthesisInfo*> TextBlockData::parentheses()
|
QVector<ParenthesisInfo*> TextBlockData::parentheses()
|
||||||
{
|
{
|
||||||
return m_parentheses;
|
return m_parentheses;
|
||||||
|
@ -23,6 +23,7 @@ class TextBlockData : public QTextBlockUserData
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
TextBlockData(){}
|
TextBlockData(){}
|
||||||
|
~TextBlockData();
|
||||||
QVector<ParenthesisInfo *> parentheses();
|
QVector<ParenthesisInfo *> parentheses();
|
||||||
void insert(ParenthesisInfo *info);
|
void insert(ParenthesisInfo *info);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user