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
e1cdc9e5
Commit
e1cdc9e5
authored
Jan 17, 2014
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: ExtensionItemDelegate: remove unused members
parent
5f78dc28
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
modules/gui/qt4/dialogs/plugins.cpp
modules/gui/qt4/dialogs/plugins.cpp
+3
-5
modules/gui/qt4/dialogs/plugins.hpp
modules/gui/qt4/dialogs/plugins.hpp
+1
-3
No files found.
modules/gui/qt4/dialogs/plugins.cpp
View file @
e1cdc9e5
...
@@ -219,8 +219,7 @@ ExtensionTab::ExtensionTab( intf_thread_t *p_intf_ )
...
@@ -219,8 +219,7 @@ ExtensionTab::ExtensionTab( intf_thread_t *p_intf_ )
layout
->
addWidget
(
extList
);
layout
->
addWidget
(
extList
);
// List item delegate
// List item delegate
ExtensionItemDelegate
*
itemDelegate
=
new
ExtensionItemDelegate
(
p_intf
,
ExtensionItemDelegate
*
itemDelegate
=
new
ExtensionItemDelegate
(
extList
);
extList
);
extList
->
setItemDelegate
(
itemDelegate
);
extList
->
setItemDelegate
(
itemDelegate
);
// Extension list look & feeling
// Extension list look & feeling
...
@@ -426,9 +425,8 @@ QModelIndex ExtensionListModel::index( int row, int column,
...
@@ -426,9 +425,8 @@ QModelIndex ExtensionListModel::index( int row, int column,
/* Extension List Widget Item */
/* Extension List Widget Item */
ExtensionItemDelegate
::
ExtensionItemDelegate
(
intf_thread_t
*
p_intf
,
ExtensionItemDelegate
::
ExtensionItemDelegate
(
QObject
*
parent
)
QListView
*
view
)
:
QStyledItemDelegate
(
parent
)
:
QStyledItemDelegate
(
view
),
view
(
view
),
p_intf
(
p_intf
)
{
{
margins
=
QMargins
(
4
,
4
,
4
,
4
);
margins
=
QMargins
(
4
,
4
,
4
,
4
);
}
}
...
...
modules/gui/qt4/dialogs/plugins.hpp
View file @
e1cdc9e5
...
@@ -175,7 +175,7 @@ private:
...
@@ -175,7 +175,7 @@ private:
class
ExtensionItemDelegate
:
public
QStyledItemDelegate
class
ExtensionItemDelegate
:
public
QStyledItemDelegate
{
{
public:
public:
ExtensionItemDelegate
(
intf_thread_t
*
p_intf
,
QListView
*
view
);
ExtensionItemDelegate
(
QObject
*
parent
);
virtual
~
ExtensionItemDelegate
();
virtual
~
ExtensionItemDelegate
();
virtual
void
paint
(
QPainter
*
painter
,
virtual
void
paint
(
QPainter
*
painter
,
...
@@ -188,8 +188,6 @@ public:
...
@@ -188,8 +188,6 @@ public:
private:
private:
QMargins
margins
;
QMargins
margins
;
QListView
*
view
;
intf_thread_t
*
p_intf
;
};
};
class
ExtensionInfoDialog
:
public
QVLCDialog
class
ExtensionInfoDialog
:
public
QVLCDialog
...
...
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