mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Cleanup private part of Layout Box on destructor (probably not really an
issue, but brings less noise about memory leaks when using valgrind). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39864 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
cb9e09f29e
commit
f4400845af
@ -418,6 +418,11 @@ LayoutBox::LayoutBox(GuiView & owner)
|
||||
}
|
||||
|
||||
|
||||
LayoutBox::~LayoutBox() {
|
||||
delete d;
|
||||
}
|
||||
|
||||
|
||||
void LayoutBox::Private::countCategories()
|
||||
{
|
||||
int n = filterModel_->rowCount();
|
||||
|
@ -35,6 +35,7 @@ class LayoutBox : public QComboBox
|
||||
Q_OBJECT
|
||||
public:
|
||||
LayoutBox(GuiView &);
|
||||
~LayoutBox();
|
||||
|
||||
/// select the right layout in the combobox.
|
||||
void set(docstring const & layout);
|
||||
|
Loading…
Reference in New Issue
Block a user