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
a706d73d
Commit
a706d73d
authored
Jan 25, 2010
by
Jakob Leben
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: constify arguments
parent
ce8732db
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
modules/gui/qt4/components/playlist/playlist_model.cpp
modules/gui/qt4/components/playlist/playlist_model.cpp
+1
-1
modules/gui/qt4/components/playlist/playlist_model.hpp
modules/gui/qt4/components/playlist/playlist_model.hpp
+1
-1
No files found.
modules/gui/qt4/components/playlist/playlist_model.cpp
View file @
a706d73d
...
@@ -875,7 +875,7 @@ void PLModel::search( const QString& search_text )
...
@@ -875,7 +875,7 @@ void PLModel::search( const QString& search_text )
}
}
/*********** Popup *********/
/*********** Popup *********/
void
PLModel
::
popup
(
QModelIndex
&
index
,
QPoint
&
point
,
QModelIndexList
list
)
void
PLModel
::
popup
(
const
QModelIndex
&
index
,
const
QPoint
&
point
,
const
QModelIndexList
&
list
)
{
{
int
i_id
=
index
.
isValid
()
?
itemId
(
index
)
:
rootItem
->
i_id
;
int
i_id
=
index
.
isValid
()
?
itemId
(
index
)
:
rootItem
->
i_id
;
...
...
modules/gui/qt4/components/playlist/playlist_model.hpp
View file @
a706d73d
...
@@ -87,7 +87,7 @@ public:
...
@@ -87,7 +87,7 @@ public:
int
itemId
(
const
QModelIndex
&
index
)
const
;
int
itemId
(
const
QModelIndex
&
index
)
const
;
/* Actions */
/* Actions */
void
popup
(
QModelIndex
&
index
,
QPoint
&
point
,
QModelIndexList
list
);
void
popup
(
const
QModelIndex
&
index
,
const
QPoint
&
point
,
const
QModelIndexList
&
list
);
void
doDelete
(
QModelIndexList
selected
);
void
doDelete
(
QModelIndexList
selected
);
void
search
(
const
QString
&
search_text
);
void
search
(
const
QString
&
search_text
);
void
sort
(
int
column
,
Qt
::
SortOrder
order
);
void
sort
(
int
column
,
Qt
::
SortOrder
order
);
...
...
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