Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
a2df1797
Commit
a2df1797
authored
Sep 10, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: do not delete parented QDialogs
Ref #7431 #5377
parent
82f89ed6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+2
-3
No files found.
modules/gui/qt4/components/simple_preferences.cpp
View file @
a2df1797
...
...
@@ -1026,7 +1026,6 @@ void SPrefsPanel::assoDialog()
CONNECT
(
clearButton
,
clicked
(),
d
,
reject
()
);
d
->
resize
(
300
,
400
);
d
->
exec
();
delete
d
;
delete
qvReg
;
listAsso
.
clear
();
}
...
...
@@ -1041,7 +1040,7 @@ void addAsso( QVLCRegistry *qvReg, const char *psz_ext )
if
(
!
EMPTY_STR
(
psz_value
)
)
qvReg
->
WriteRegistryString
(
psz_ext
,
"VLC.backup"
,
psz_value
);
delete
psz_value
;
free
(
psz_value
)
;
/* Put a "link" to VLC.EXT as default */
qvReg
->
WriteRegistryString
(
psz_ext
,
""
,
qtu
(
s_path
)
);
...
...
@@ -1083,7 +1082,7 @@ void delAsso( QVLCRegistry *qvReg, const char *psz_ext )
qvReg
->
DeleteKey
(
psz_ext
,
"VLC.backup"
);
}
delet
e
(
psz_value
);
fre
e
(
psz_value
);
}
void
SPrefsPanel
::
saveAsso
()
{
...
...
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