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
776e49e2
Commit
776e49e2
authored
Apr 07, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: updateSystrayTooltipStatus simplification
parent
42383d06
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
17 deletions
+9
-17
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+9
-17
No files found.
modules/gui/qt4/main_interface.cpp
View file @
776e49e2
...
@@ -961,23 +961,15 @@ void MainInterface::updateSystrayTooltipStatus( int i_status )
...
@@ -961,23 +961,15 @@ void MainInterface::updateSystrayTooltipStatus( int i_status )
{
{
switch
(
i_status
)
switch
(
i_status
)
{
{
case
0
:
case
PLAYING_S
:
case
END_S
:
sysTray
->
setToolTip
(
input_name
);
{
break
;
sysTray
->
setToolTip
(
qtr
(
"VLC media player"
)
);
case
PAUSE_S
:
break
;
sysTray
->
setToolTip
(
input_name
+
" - "
+
qtr
(
"Paused"
)
);
}
break
;
case
PLAYING_S
:
default:
{
sysTray
->
setToolTip
(
qtr
(
"VLC media player"
)
);
sysTray
->
setToolTip
(
input_name
);
break
;
break
;
}
case
PAUSE_S
:
{
sysTray
->
setToolTip
(
input_name
+
" - "
+
qtr
(
"Paused"
)
);
break
;
}
}
}
QVLCMenu
::
updateSystrayMenu
(
this
,
p_intf
);
QVLCMenu
::
updateSystrayMenu
(
this
,
p_intf
);
}
}
...
...
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