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
823b07a0
Commit
823b07a0
authored
Mar 16, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: hold objet while the popup menu is active
parent
c3cffb4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
modules/gui/qt4/menus.hpp
modules/gui/qt4/menus.hpp
+4
-0
No files found.
modules/gui/qt4/menus.hpp
View file @
823b07a0
...
...
@@ -53,6 +53,8 @@ public:
vlc_value_t
_val
,
const
char
*
_var
)
:
QObject
(
parent
)
{
p_obj
=
_p_obj
;
if
(
p_obj
)
vlc_object_hold
(
p_obj
);
i_val_type
=
_i_type
;
val
=
_val
;
psz_var
=
strdup
(
_var
);
...
...
@@ -62,6 +64,8 @@ public:
free
(
psz_var
);
if
(
(
i_val_type
&
VLC_VAR_TYPE
)
==
VLC_VAR_STRING
)
free
(
val
.
psz_string
);
if
(
p_obj
)
vlc_object_release
(
p_obj
);
}
vlc_object_t
*
p_obj
;
...
...
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