Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
f447119e
Commit
f447119e
authored
Sep 16, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: fix association crash on XP
Close #2246 #4424 #7431 #5377
parent
f2d861c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+3
-2
No files found.
modules/gui/qt4/components/simple_preferences.cpp
View file @
f447119e
...
...
@@ -1070,10 +1070,10 @@ void addAsso( QVLCRegistry *qvReg, const char *psz_ext )
void
delAsso
(
QVLCRegistry
*
qvReg
,
const
char
*
psz_ext
)
{
char
psz_VLC
[]
=
"VLC"
;
QString
s_path
(
"VLC"
);
s_path
+=
psz_ext
;
char
*
psz_value
=
qvReg
->
ReadRegistryString
(
psz_ext
,
""
,
""
);
if
(
psz_value
&&
!
strcmp
(
strcat
(
psz_VLC
,
psz_ext
),
psz_value
)
)
if
(
psz_value
&&
!
strcmp
(
qtu
(
s_path
),
psz_value
)
)
{
free
(
psz_value
);
psz_value
=
qvReg
->
ReadRegistryString
(
psz_ext
,
"VLC.backup"
,
""
);
...
...
@@ -1084,6 +1084,7 @@ void delAsso( QVLCRegistry *qvReg, const char *psz_ext )
}
free
(
psz_value
);
}
void
SPrefsPanel
::
saveAsso
()
{
QVLCRegistry
*
qvReg
=
NULL
;
...
...
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