Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
225e00d0
Commit
225e00d0
authored
Mar 10, 2020
by
Caio Jordão Carvalho
Browse files
Fix filter. Rating filter was considering rates greater than the selected one
parent
eed01aa0
Pipeline
#16264
passed with stage
in 14 minutes and 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/bin/projectsortproxymodel.cpp
View file @
225e00d0
...
...
@@ -58,7 +58,7 @@ bool ProjectSortProxyModel::filterAcceptsRowItself(int sourceRow, const QModelIn
if
(
m_searchRating
>
0
)
{
// Column 7 contains the rating
QModelIndex
indexTag
=
sourceModel
()
->
index
(
sourceRow
,
7
,
sourceParent
);
if
(
sourceModel
()
->
data
(
indexTag
).
toInt
()
<
m_searchRating
)
{
if
(
sourceModel
()
->
data
(
indexTag
).
toInt
()
!=
m_searchRating
)
{
return
false
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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