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
df4031fb
Commit
df4031fb
authored
Jan 02, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: code cosmetics
parent
9bf74a1e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
11 deletions
+10
-11
modules/gui/qt4/components/playlist/selector.cpp
modules/gui/qt4/components/playlist/selector.cpp
+10
-11
No files found.
modules/gui/qt4/components/playlist/selector.cpp
View file @
df4031fb
...
...
@@ -83,6 +83,8 @@ void PLSelItem::addAction( ItemAction act, const QString& tooltip )
icon
=
QIcon
(
":/buttons/playlist/playlist_add"
);
break
;
case
RM_ACTION
:
icon
=
QIcon
(
":/buttons/playlist/playlist_remove"
);
break
;
default:
return
;
}
lblAction
=
new
SelectorActionButton
();
...
...
@@ -116,6 +118,14 @@ PLSelector::PLSelector( QWidget *p, intf_thread_t *_p_intf )
setDropIndicatorShown
(
true
);
invisibleRootItem
()
->
setFlags
(
invisibleRootItem
()
->
flags
()
&
~
Qt
::
ItemIsDropEnabled
);
#ifdef Q_WS_MAC
setAutoFillBackground
(
true
);
QPalette
palette
;
palette
.
setColor
(
QPalette
::
Window
,
QColor
(
209
,
215
,
226
)
);
setPalette
(
palette
);
#endif
setMinimumHeight
(
120
);
/* Podcasts */
podcastsParent
=
NULL
;
podcastsParentId
=
-
1
;
...
...
@@ -140,17 +150,6 @@ PLSelector::PLSelector( QWidget *p, intf_thread_t *_p_intf )
this
,
setSource
(
QTreeWidgetItem
*
)
);
CONNECT
(
this
,
itemClicked
(
QTreeWidgetItem
*
,
int
),
this
,
setSource
(
QTreeWidgetItem
*
)
);
/* select the first item */
// view->setCurrentIndex( model->index( 0, 0, QModelIndex() ) );
#ifdef Q_WS_MAC
setAutoFillBackground
(
true
);
QPalette
palette
;
palette
.
setColor
(
QPalette
::
Window
,
QColor
(
209
,
215
,
226
)
);
setPalette
(
palette
);
#endif
setMinimumHeight
(
120
);
}
PLSelector
::~
PLSelector
()
...
...
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