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
70d9e0fc
Commit
70d9e0fc
authored
Mar 18, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: use vlc_LogSet()
parent
12820072
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
modules/gui/qt4/dialogs/messages.cpp
modules/gui/qt4/dialogs/messages.cpp
+2
-2
modules/gui/qt4/dialogs/messages.hpp
modules/gui/qt4/dialogs/messages.hpp
+0
-1
No files found.
modules/gui/qt4/dialogs/messages.cpp
View file @
70d9e0fc
...
@@ -130,7 +130,7 @@ MessagesDialog::MessagesDialog( intf_thread_t *_p_intf)
...
@@ -130,7 +130,7 @@ MessagesDialog::MessagesDialog( intf_thread_t *_p_intf)
restoreWidgetPosition
(
"Messages"
,
QSize
(
600
,
450
)
);
restoreWidgetPosition
(
"Messages"
,
QSize
(
600
,
450
)
);
/* Hook up to LibVLC messaging */
/* Hook up to LibVLC messaging */
vlc_
Subscribe
(
&
sub
,
MsgCallback
,
this
);
vlc_
LogSet
(
p_intf
->
p_libvlc
,
MsgCallback
,
this
);
buildTree
(
NULL
,
VLC_OBJECT
(
p_intf
->
p_libvlc
)
);
buildTree
(
NULL
,
VLC_OBJECT
(
p_intf
->
p_libvlc
)
);
}
}
...
@@ -138,7 +138,7 @@ MessagesDialog::MessagesDialog( intf_thread_t *_p_intf)
...
@@ -138,7 +138,7 @@ MessagesDialog::MessagesDialog( intf_thread_t *_p_intf)
MessagesDialog
::~
MessagesDialog
()
MessagesDialog
::~
MessagesDialog
()
{
{
saveWidgetPosition
(
"Messages"
);
saveWidgetPosition
(
"Messages"
);
vlc_
Unsubscribe
(
&
sub
);
vlc_
LogSet
(
p_intf
->
p_libvlc
,
NULL
,
NULL
);
};
};
void
MessagesDialog
::
changeVerbosity
(
int
i_verbosity
)
void
MessagesDialog
::
changeVerbosity
(
int
i_verbosity
)
...
...
modules/gui/qt4/dialogs/messages.hpp
View file @
70d9e0fc
...
@@ -50,7 +50,6 @@ private:
...
@@ -50,7 +50,6 @@ private:
virtual
~
MessagesDialog
();
virtual
~
MessagesDialog
();
Ui
::
messagesPanelWidget
ui
;
Ui
::
messagesPanelWidget
ui
;
msg_subscription_t
sub
;
static
void
sinkMessage
(
void
*
,
msg_item_t
*
,
unsigned
);
static
void
sinkMessage
(
void
*
,
msg_item_t
*
,
unsigned
);
void
customEvent
(
QEvent
*
);
void
customEvent
(
QEvent
*
);
void
sinkMessage
(
const
MsgEvent
*
);
void
sinkMessage
(
const
MsgEvent
*
);
...
...
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