Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
f54769eb
Commit
f54769eb
authored
Jan 13, 2011
by
Erwan Tulou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skins2: cosmetic (a single addObserver is sufficient)
parent
7a851c17
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
modules/gui/skins2/utils/var_text.cpp
modules/gui/skins2/utils/var_text.cpp
+4
-10
No files found.
modules/gui/skins2/utils/var_text.cpp
View file @
f54769eb
...
...
@@ -152,16 +152,10 @@ void VarText::set( const UString &rText )
pVarManager
->
getHelpText
().
addObserver
(
this
);
}
if
(
m_text
.
find
(
"$T"
)
!=
UString
::
npos
||
m_text
.
find
(
"$t"
)
!=
UString
::
npos
)
{
pVlcProc
->
getTimeVar
().
addObserver
(
this
);
}
if
(
m_text
.
find
(
"$L"
)
!=
UString
::
npos
||
m_text
.
find
(
"$l"
)
!=
UString
::
npos
)
{
pVlcProc
->
getTimeVar
().
addObserver
(
this
);
}
if
(
m_text
.
find
(
"$D"
)
!=
UString
::
npos
||
m_text
.
find
(
"$t"
)
!=
UString
::
npos
||
m_text
.
find
(
"$L"
)
!=
UString
::
npos
||
m_text
.
find
(
"$l"
)
!=
UString
::
npos
||
m_text
.
find
(
"$D"
)
!=
UString
::
npos
||
m_text
.
find
(
"$d"
)
!=
UString
::
npos
)
{
pVlcProc
->
getTimeVar
().
addObserver
(
this
);
...
...
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