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
f765c772
Commit
f765c772
authored
Sep 26, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: fix a potential crash with the systray management
parent
eff056b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+5
-1
No files found.
modules/gui/qt4/main_interface.cpp
View file @
f765c772
...
@@ -1044,9 +1044,11 @@ void MainInterface::toggleUpdateSystrayMenu()
...
@@ -1044,9 +1044,11 @@ void MainInterface::toggleUpdateSystrayMenu()
hide
();
hide
();
#endif
#endif
}
}
QVLCMenu
::
updateSystrayMenu
(
this
,
p_intf
);
if
(
sysTray
)
QVLCMenu
::
updateSystrayMenu
(
this
,
p_intf
);
}
}
/* First Item of the systray menu */
void
MainInterface
::
showUpdateSystrayMenu
()
void
MainInterface
::
showUpdateSystrayMenu
()
{
{
if
(
isHidden
()
)
if
(
isHidden
()
)
...
@@ -1058,12 +1060,14 @@ void MainInterface::showUpdateSystrayMenu()
...
@@ -1058,12 +1060,14 @@ void MainInterface::showUpdateSystrayMenu()
QVLCMenu
::
updateSystrayMenu
(
this
,
p_intf
);
QVLCMenu
::
updateSystrayMenu
(
this
,
p_intf
);
}
}
/* First Item of the systray menu */
void
MainInterface
::
hideUpdateSystrayMenu
()
void
MainInterface
::
hideUpdateSystrayMenu
()
{
{
hide
();
hide
();
QVLCMenu
::
updateSystrayMenu
(
this
,
p_intf
);
QVLCMenu
::
updateSystrayMenu
(
this
,
p_intf
);
}
}
/* Click on systray Icon */
void
MainInterface
::
handleSystrayClick
(
void
MainInterface
::
handleSystrayClick
(
QSystemTrayIcon
::
ActivationReason
reason
)
QSystemTrayIcon
::
ActivationReason
reason
)
{
{
...
...
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