Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
437c3166
Commit
437c3166
authored
May 14, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: remove unneeded code
parent
19acda05
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
9 deletions
+6
-9
modules/gui/qt4/components/playlist/playlist_item.cpp
modules/gui/qt4/components/playlist/playlist_item.cpp
+2
-5
modules/gui/qt4/components/playlist/playlist_item.hpp
modules/gui/qt4/components/playlist/playlist_item.hpp
+2
-2
modules/gui/qt4/main_interface_win32.cpp
modules/gui/qt4/main_interface_win32.cpp
+2
-2
No files found.
modules/gui/qt4/components/playlist/playlist_item.cpp
View file @
437c3166
...
...
@@ -73,15 +73,12 @@ PLItem::~PLItem()
children
.
clear
();
}
/* So far signal is always true.
Using signal false would not call PLModel... Why ?
*/
void
PLItem
::
insertChild
(
PLItem
*
item
,
int
i_pos
,
bool
signal
)
void
PLItem
::
insertChild
(
PLItem
*
item
,
int
i_pos
)
{
children
.
insert
(
i_pos
,
item
);
}
void
PLItem
::
appendChild
(
PLItem
*
item
,
bool
signal
)
void
PLItem
::
appendChild
(
PLItem
*
item
)
{
children
.
insert
(
children
.
count
(),
item
);
}
...
...
modules/gui/qt4/components/playlist/playlist_item.hpp
View file @
437c3166
...
...
@@ -39,8 +39,8 @@ public:
int
row
()
const
;
void
insertChild
(
PLItem
*
,
int
pos
,
bool
signal
=
true
);
void
appendChild
(
PLItem
*
item
,
bool
signal
=
true
);
void
insertChild
(
PLItem
*
,
int
pos
);
void
appendChild
(
PLItem
*
item
);
void
removeChild
(
PLItem
*
);
void
removeChildren
();
void
takeChildAt
(
int
);
...
...
modules/gui/qt4/main_interface_win32.cpp
View file @
437c3166
...
...
@@ -87,12 +87,12 @@ void MainInterface::createTaskBarButtons()
{
p_taskbl
->
vt
->
HrInit
(
p_taskbl
);
if
(
himl
=
ImageList_Create
(
20
,
//cx
if
(
(
himl
=
ImageList_Create
(
20
,
//cx
20
,
//cy
ILC_COLOR32
,
//flags
4
,
//initial nb of images
0
//nb of images that can be added
))
)
)
!=
NULL
)
{
QPixmap
img
=
QPixmap
(
":/win7/prev"
);
QPixmap
img2
=
QPixmap
(
":/win7/pause"
);
...
...
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