Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
21a5ca24
Commit
21a5ca24
authored
May 31, 2007
by
Jean-Baptiste Kempf
Browse files
Qt4 - Forgotten file in a previous commit ( for the toggleVisible bug in QSystray )
parent
bae04ee8
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/qt4/main_interface.cpp
View file @
21a5ca24
...
...
@@ -320,8 +320,8 @@ void MainInterface::updateSystrayMenu( int status )
void
MainInterface
::
toggleUpdateSystrayMenu
()
{
QVLCMenu
::
updateSystrayMenu
(
this
,
p_intf
);
toggleVisible
();
QVLCMenu
::
updateSystrayMenu
(
this
,
p_intf
);
}
void
MainInterface
::
handleSystrayClick
(
QSystemTrayIcon
::
ActivationReason
reason
)
...
...
@@ -329,7 +329,8 @@ void MainInterface::handleSystrayClick( QSystemTrayIcon::ActivationReason reason
switch
(
reason
)
{
case
QSystemTrayIcon
::
Trigger
:
this
->
toggleVisible
();
break
;
toggleUpdateSystrayMenu
();
break
;
case
QSystemTrayIcon
::
MiddleClick
:
sysTray
->
showMessage
(
qtr
(
"VLC media player"
),
qtr
(
"Control menu for the player"
),
...
...
Write
Preview
Supports
Markdown
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