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
0ed592d6
Commit
0ed592d6
authored
Dec 31, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: fix some issues about displaying the media information.
parent
601ac54e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
7 deletions
+20
-7
modules/gui/qt4/components/info_panels.cpp
modules/gui/qt4/components/info_panels.cpp
+16
-3
modules/gui/qt4/dialogs/mediainfo.cpp
modules/gui/qt4/dialogs/mediainfo.cpp
+4
-4
No files found.
modules/gui/qt4/components/info_panels.cpp
View file @
0ed592d6
...
...
@@ -158,7 +158,11 @@ MetaPanel::MetaPanel( QWidget *parent,
**/
void
MetaPanel
::
update
(
input_item_t
*
p_item
)
{
if
(
!
p_item
)
clear
();
if
(
!
p_item
)
{
clear
();
return
;
}
/* Don't update if you are in edit mode */
if
(
b_inEditMode
)
return
;
...
...
@@ -320,6 +324,7 @@ void MetaPanel::clear()
art_cover
->
update
(
NULL
);
setEditMode
(
false
);
emit
uriSet
(
""
);
}
/**
...
...
@@ -354,7 +359,11 @@ ExtraMetaPanel::ExtraMetaPanel( QWidget *parent,
**/
void
ExtraMetaPanel
::
update
(
input_item_t
*
p_item
)
{
if
(
!
p_item
)
clear
();
if
(
!
p_item
)
{
clear
();
return
;
}
QStringList
tempItem
;
QList
<
QTreeWidgetItem
*>
items
;
...
...
@@ -425,7 +434,11 @@ InfoPanel::InfoPanel( QWidget *parent,
**/
void
InfoPanel
::
update
(
input_item_t
*
p_item
)
{
if
(
!
p_item
)
clear
();
if
(
!
p_item
)
{
clear
();
return
;
}
InfoTree
->
clear
();
QTreeWidgetItem
*
current_item
=
NULL
;
...
...
modules/gui/qt4/dialogs/mediainfo.cpp
View file @
0ed592d6
...
...
@@ -101,13 +101,13 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf,
* Connects on the various signals of input_Manager
* For the currently playing element
**/
CONNECT
(
THEMIM
,
infoChanged
(
input_item_t
*
),
CONNECT
(
THEMIM
->
getIM
()
,
infoChanged
(
input_item_t
*
),
IP
,
update
(
input_item_t
*
)
);
CONNECT
(
THEMIM
,
metaChanged
(
input_item_t
*
),
CONNECT
(
THEMIM
->
getIM
()
,
metaChanged
(
input_item_t
*
),
MP
,
update
(
input_item_t
*
)
);
CONNECT
(
THEMIM
,
metaChanged
(
input_item_t
*
),
CONNECT
(
THEMIM
->
getIM
()
,
metaChanged
(
input_item_t
*
),
EMP
,
update
(
input_item_t
*
)
);
CONNECT
(
THEMIM
,
statisticsUpdated
(
input_item_t
*
),
CONNECT
(
THEMIM
->
getIM
()
,
statisticsUpdated
(
input_item_t
*
),
ISP
,
update
(
input_item_t
*
)
);
if
(
THEMIM
->
getInput
()
)
...
...
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