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
f39cf066
Commit
f39cf066
authored
Oct 10, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - remove trailing spaces.
parent
4fffc9ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
modules/gui/qt4/components/infopanels.cpp
modules/gui/qt4/components/infopanels.cpp
+7
-7
No files found.
modules/gui/qt4/components/infopanels.cpp
View file @
f39cf066
...
...
@@ -51,7 +51,7 @@ MetaPanel::MetaPanel( QWidget *parent,
:
QWidget
(
parent
),
p_intf
(
_p_intf
)
{
QGridLayout
*
metaLayout
=
new
QGridLayout
(
this
);
int
line
=
0
;
/* Counter for GridLayout */
p_input
=
NULL
;
...
...
@@ -60,7 +60,7 @@ MetaPanel::MetaPanel( QWidget *parent,
widget = new QLineEdit; \
metaLayout->addWidget( widget, line, 1, 1, 9 ); \
line++; }
/* Title, artist and album*/
ADD_META
(
VLC_META_TITLE
,
title_text
);
/* OK */
ADD_META
(
VLC_META_ARTIST
,
artist_text
);
/* OK */
...
...
@@ -110,7 +110,7 @@ MetaPanel::MetaPanel( QWidget *parent,
art_cover
->
setScaledContents
(
true
);
art_cover
->
setPixmap
(
QPixmap
(
":/noart.png"
)
);
metaLayout
->
addWidget
(
art_cover
,
line
,
8
,
4
,
2
);
/* Settings is unused */
/* l->addWidget( new QLabel( qtr( VLC_META_SETTING ) + " :" ), line, 5 );
setting_text = new QLineEdit;
...
...
@@ -122,7 +122,7 @@ MetaPanel::MetaPanel( QWidget *parent,
widget = new QLineEdit; \
metaLayout->addWidget( widget, line, 1, 1, 7 ); \
line++; }
/* Now Playing - Useful for live feeds (HTTP, DVB, ETC...) */
ADD_META_2
(
VLC_META_NOW_PLAYING
,
nowplaying_text
);
nowplaying_text
->
setReadOnly
(
true
);
...
...
@@ -144,7 +144,7 @@ MetaPanel::MetaPanel( QWidget *parent,
CONNECT
(
collection_text
,
textEdited
(
QString
),
this
,
enterEditMode
()
);
CONNECT
(
genre_text
,
textEdited
(
QString
),
this
,
enterEditMode
()
);
CONNECT
(
seqnum_text
,
textEdited
(
QString
),
this
,
enterEditMode
()
);
CONNECT
(
date_text
,
textEdited
(
QString
),
this
,
enterEditMode
()
);
CONNECT
(
description_text
,
textEdited
(
QString
),
this
,
enterEditMode
()
);
/* CONNECT( rating_text, valueChanged( QString ), this, enterEditMode( QString ) );*/
...
...
@@ -162,7 +162,7 @@ void MetaPanel::update( input_item_t *p_item )
{
/* Don't update if you are in edit mode */
if
(
b_inEditMode
)
return
;
char
*
psz_meta
;
#define UPDATE_META( meta, widget ) { \
psz_meta = input_item_Get##meta( p_item ); \
...
...
@@ -287,7 +287,7 @@ void MetaPanel::saveMeta()
module_Unneed
(
p_playlist
,
p_mod
);
PL_UNLOCK
;
pl_Release
(
p_playlist
);
/* Reset the status of the mode. No need to emit any signal */
b_inEditMode
=
false
;
}
...
...
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