Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
63a0225e
Commit
63a0225e
authored
Jun 03, 2009
by
dt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some insignificant memory leaks.
Reviewed-By: hjk
parent
d7af85a0
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
4 deletions
+5
-4
src/plugins/coreplugin/welcomemode.cpp
src/plugins/coreplugin/welcomemode.cpp
+1
-0
src/plugins/debugger/debuggeractions.h
src/plugins/debugger/debuggeractions.h
+1
-2
src/plugins/debugger/debuggerplugin.cpp
src/plugins/debugger/debuggerplugin.cpp
+1
-0
src/plugins/fakevim/fakevimactions.h
src/plugins/fakevim/fakevimactions.h
+1
-2
src/plugins/fakevim/fakevimplugin.cpp
src/plugins/fakevim/fakevimplugin.cpp
+1
-0
No files found.
src/plugins/coreplugin/welcomemode.cpp
View file @
63a0225e
...
...
@@ -206,6 +206,7 @@ WelcomeMode::~WelcomeMode()
{
QSettings
*
settings
=
ICore
::
instance
()
->
settings
();
settings
->
setValue
(
"General/WelcomeTab"
,
m_d
->
btnGrp
->
checkedId
());
delete
m_d
->
m_widget
;
delete
m_d
;
}
...
...
src/plugins/debugger/debuggeractions.h
View file @
63a0225e
...
...
@@ -43,11 +43,10 @@ namespace Internal {
class
DebuggerSettings
:
public
QObject
{
Q_OBJECT
public:
DebuggerSettings
(
QObject
*
parent
=
0
);
~
DebuggerSettings
();
void
insertItem
(
int
code
,
Core
::
Utils
::
SavedAction
*
item
);
Core
::
Utils
::
SavedAction
*
item
(
int
code
)
const
;
...
...
src/plugins/debugger/debuggerplugin.cpp
View file @
63a0225e
...
...
@@ -418,6 +418,7 @@ void DebuggerPlugin::shutdown()
m_manager
->
shutdown
();
writeSettings
();
delete
DebuggerSettings
::
instance
();
//qDebug() << "DebuggerPlugin::~DebuggerPlugin";
removeObject
(
m_debugMode
);
...
...
src/plugins/fakevim/fakevimactions.h
View file @
63a0225e
...
...
@@ -66,7 +66,6 @@ class FakeVimSettings : public QObject
public:
FakeVimSettings
();
~
FakeVimSettings
();
void
insertItem
(
int
code
,
Core
::
Utils
::
SavedAction
*
item
,
const
QString
&
longname
=
QString
(),
const
QString
&
shortname
=
QString
());
...
...
@@ -77,7 +76,7 @@ public:
void
readSettings
(
QSettings
*
settings
);
void
writeSettings
(
QSettings
*
settings
);
p
ublic
:
p
rivate
:
QHash
<
int
,
Core
::
Utils
::
SavedAction
*>
m_items
;
QHash
<
QString
,
int
>
m_nameToCode
;
QHash
<
int
,
QString
>
m_codeToName
;
...
...
src/plugins/fakevim/fakevimplugin.cpp
View file @
63a0225e
...
...
@@ -280,6 +280,7 @@ void FakeVimPluginPrivate::shutdown()
delete
m_fakeVimOptionsPage
;
m_fakeVimOptionsPage
=
0
;
theFakeVimSettings
()
->
writeSettings
(
Core
::
ICore
::
instance
()
->
settings
());
delete
theFakeVimSettings
();
}
bool
FakeVimPluginPrivate
::
initialize
()
...
...
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