Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
luyikei
VLMC
Commits
acc20b2b
Commit
acc20b2b
authored
Dec 10, 2009
by
Geoffroy Lacarriere
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow the ImportController to be deleted
parent
a2016025
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/GUI/library/StackViewController.cpp
src/GUI/library/StackViewController.cpp
+3
-2
No files found.
src/GUI/library/StackViewController.cpp
View file @
acc20b2b
...
...
@@ -24,7 +24,7 @@
#include "ImportController.h"
StackViewController
::
StackViewController
(
QWidget
*
parent
,
bool
enableImport
)
:
QWidget
(
parent
),
m_current
(
0
)
QWidget
(
parent
),
m_importButton
(
NULL
),
m_current
(
0
)
{
m_nav
=
new
StackViewNavController
(
this
);
...
...
@@ -52,7 +52,8 @@ StackViewController::StackViewController( QWidget* parent, bool enableImport ) :
StackViewController
::~
StackViewController
()
{
delete
m_nav
;
delete
m_importButton
;
if
(
m_importButton
!=
NULL
)
delete
m_importButton
;
delete
m_layout
;
delete
m_controllerStack
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment