Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
2cc94e2e
Commit
2cc94e2e
authored
Jan 06, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: Disable cancellation while writing a message to the log dialog
As pointed out by Laurent, cancellation was not safe here
parent
6f323e7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
modules/gui/qt4/dialogs/messages.cpp
modules/gui/qt4/dialogs/messages.cpp
+2
-0
No files found.
modules/gui/qt4/dialogs/messages.cpp
View file @
2cc94e2e
...
@@ -153,9 +153,11 @@ void MessagesDialog::sinkMessage (msg_cb_data_t *data, msg_item_t *item,
...
@@ -153,9 +153,11 @@ void MessagesDialog::sinkMessage (msg_cb_data_t *data, msg_item_t *item,
unsigned
overruns
)
unsigned
overruns
)
{
{
MessagesDialog
*
self
=
data
->
self
;
MessagesDialog
*
self
=
data
->
self
;
int
canc
=
vlc_savecancel
();
QMutexLocker
locker
(
&
data
->
lock
);
QMutexLocker
locker
(
&
data
->
lock
);
self
->
sinkMessage
(
item
,
overruns
);
self
->
sinkMessage
(
item
,
overruns
);
vlc_restorecancel
(
canc
);
}
}
void
MessagesDialog
::
sinkMessage
(
msg_item_t
*
item
,
unsigned
)
void
MessagesDialog
::
sinkMessage
(
msg_item_t
*
item
,
unsigned
)
...
...
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