Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
527aba64
Commit
527aba64
authored
Dec 03, 2010
by
Christian Kandeler
Browse files
Maemo: Fix leak.
parent
01b51fb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurationssettingswidget.cpp
View file @
527aba64
...
...
@@ -74,7 +74,7 @@ bool configNameExists(const QList<MaemoDeviceConfig> &devConfs,
class
NameValidator
:
public
QValidator
{
public:
NameValidator
(
const
QList
<
MaemoDeviceConfig
>
&
devConfs
)
NameValidator
(
const
QList
<
MaemoDeviceConfig
>
&
devConfs
,
QWidget
*
parent
=
0
)
:
m_devConfs
(
devConfs
)
{
}
...
...
@@ -106,7 +106,7 @@ MaemoDeviceConfigurationsSettingsWidget::MaemoDeviceConfigurationsSettingsWidget
:
QWidget
(
parent
),
m_ui
(
new
Ui_MaemoDeviceConfigurationsSettingsWidget
),
m_devConfs
(
MaemoDeviceConfigurations
::
instance
().
devConfigs
()),
m_nameValidator
(
new
NameValidator
(
m_devConfs
)),
m_nameValidator
(
new
NameValidator
(
m_devConfs
,
this
)),
m_saveSettingsRequested
(
false
)
{
initGui
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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