Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
22726352
Commit
22726352
authored
Apr 26, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: force destruction of PopupMenu when Vout Changes.
Close #2427.
parent
d0f6494e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+8
-0
modules/gui/qt4/main_interface.hpp
modules/gui/qt4/main_interface.hpp
+1
-0
No files found.
modules/gui/qt4/main_interface.cpp
View file @
22726352
...
@@ -141,6 +141,8 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
...
@@ -141,6 +141,8 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
* Menu Bar *
* Menu Bar *
************/
************/
QVLCMenu
::
createMenuBar
(
this
,
p_intf
);
QVLCMenu
::
createMenuBar
(
this
,
p_intf
);
CONNECT
(
THEMIM
->
getIM
(),
voutListChanged
(
vout_thread_t
**
,
int
),
this
,
destroyPopupMenu
()
);
#if 0
#if 0
/* Create a Dock to get the playlist */
/* Create a Dock to get the playlist */
...
@@ -658,6 +660,12 @@ void MainInterface::debug()
...
@@ -658,6 +660,12 @@ void MainInterface::debug()
#endif
#endif
}
}
void
MainInterface
::
destroyPopupMenu
()
{
QVLCMenu
::
PopupMenu
(
p_intf
,
false
);
}
void
MainInterface
::
toggleFSC
()
void
MainInterface
::
toggleFSC
()
{
{
if
(
!
fullscreenControls
)
return
;
if
(
!
fullscreenControls
)
return
;
...
...
modules/gui/qt4/main_interface.hpp
View file @
22726352
...
@@ -165,6 +165,7 @@ public slots:
...
@@ -165,6 +165,7 @@ public slots:
private
slots
:
private
slots
:
void
debug
();
void
debug
();
void
destroyPopupMenu
();
void
recreateToolbars
();
void
recreateToolbars
();
void
doComponentsUpdate
();
void
doComponentsUpdate
();
void
setName
(
QString
);
void
setName
(
QString
);
...
...
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