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
808d1d38
Commit
808d1d38
authored
Aug 06, 2007
by
Jean-Baptiste Kempf
Browse files
Qt4 - systray behaviour: first activate the Windows before hiding it.
Closes #1249
parent
12e628a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/qt4/main_interface.cpp
View file @
808d1d38
...
...
@@ -460,7 +460,21 @@ void MainInterface::updateSystrayMenu( int status )
*/
void
MainInterface
::
toggleUpdateSystrayMenu
()
{
toggleVisible
();
if
(
isHidden
()
)
{
show
();
}
else
{
if
(
isActiveWindow
()
)
{
hide
();
}
else
{
activateWindow
();
}
}
QVLCMenu
::
updateSystrayMenu
(
this
,
p_intf
);
}
...
...
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