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
fbc059ab
Commit
fbc059ab
authored
Jan 14, 2009
by
Christophe Mutricy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: more const
parent
c84de2ba
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+2
-2
modules/gui/qt4/util/registry.cpp
modules/gui/qt4/util/registry.cpp
+2
-2
modules/gui/qt4/util/registry.hpp
modules/gui/qt4/util/registry.hpp
+2
-2
No files found.
modules/gui/qt4/components/simple_preferences.cpp
View file @
fbc059ab
...
@@ -794,7 +794,7 @@ void SPrefsPanel::assoDialog()
...
@@ -794,7 +794,7 @@ void SPrefsPanel::assoDialog()
listAsso
.
clear
();
listAsso
.
clear
();
}
}
void
addAsso
(
QVLCRegistry
*
qvReg
,
char
*
psz_ext
)
void
addAsso
(
QVLCRegistry
*
qvReg
,
c
onst
c
har
*
psz_ext
)
{
{
std
::
string
s_path
(
"VLC"
);
s_path
+=
psz_ext
;
std
::
string
s_path
(
"VLC"
);
s_path
+=
psz_ext
;
std
::
string
s_path2
=
s_path
;
std
::
string
s_path2
=
s_path
;
...
@@ -833,7 +833,7 @@ void addAsso( QVLCRegistry *qvReg, char *psz_ext )
...
@@ -833,7 +833,7 @@ void addAsso( QVLCRegistry *qvReg, char *psz_ext )
}
}
}
}
void
delAsso
(
QVLCRegistry
*
qvReg
,
char
*
psz_ext
)
void
delAsso
(
QVLCRegistry
*
qvReg
,
c
onst
c
har
*
psz_ext
)
{
{
char
psz_VLC
[]
=
"VLC"
;
char
psz_VLC
[]
=
"VLC"
;
char
*
psz_value
=
qvReg
->
ReadRegistryString
(
psz_ext
,
""
,
""
);
char
*
psz_value
=
qvReg
->
ReadRegistryString
(
psz_ext
,
""
,
""
);
...
...
modules/gui/qt4/util/registry.cpp
View file @
fbc059ab
...
@@ -187,7 +187,7 @@ double QVLCRegistry::ReadRegistryDouble( const char *path, const char *valueName
...
@@ -187,7 +187,7 @@ double QVLCRegistry::ReadRegistryDouble( const char *path, const char *valueName
return
default_value
;
return
default_value
;
}
}
int
QVLCRegistry
::
DeleteValue
(
c
har
*
path
,
char
*
valueName
)
int
QVLCRegistry
::
DeleteValue
(
c
onst
char
*
path
,
const
char
*
valueName
)
{
{
HKEY
keyHandle
;
HKEY
keyHandle
;
long
result
;
long
result
;
...
@@ -200,7 +200,7 @@ int QVLCRegistry::DeleteValue( char *path, char *valueName )
...
@@ -200,7 +200,7 @@ int QVLCRegistry::DeleteValue( char *path, char *valueName )
return
result
;
return
result
;
}
}
long
QVLCRegistry
::
DeleteKey
(
c
har
*
path
,
char
*
keyName
)
long
QVLCRegistry
::
DeleteKey
(
c
onst
char
*
path
,
const
char
*
keyName
)
{
{
HKEY
keyHandle
;
HKEY
keyHandle
;
long
result
;
long
result
;
...
...
modules/gui/qt4/util/registry.hpp
View file @
fbc059ab
...
@@ -44,8 +44,8 @@ public:
...
@@ -44,8 +44,8 @@ public:
bool
RegistryKeyExists
(
const
char
*
path
);
bool
RegistryKeyExists
(
const
char
*
path
);
bool
RegistryValueExists
(
const
char
*
path
,
const
char
*
valueName
);
bool
RegistryValueExists
(
const
char
*
path
,
const
char
*
valueName
);
int
DeleteValue
(
c
har
*
path
,
char
*
valueName
);
int
DeleteValue
(
c
onst
char
*
path
,
const
char
*
valueName
);
long
DeleteKey
(
c
har
*
path
,
char
*
keyName
);
long
DeleteKey
(
c
onst
char
*
path
,
const
char
*
keyName
);
};
};
#endif
#endif
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