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
Utilities
KFind
Commits
09896892
Commit
09896892
authored
Apr 09, 2021
by
David Faure
Browse files
Merge remote-tracking branch 'origin/release/21.04'
parents
51cc5aa3
6e0b4d4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/kfindtreeview.cpp
View file @
09896892
...
...
@@ -164,9 +164,11 @@ bool KFindItemModel::isInserted(const QUrl &url)
void
KFindItemModel
::
clear
()
{
beginRemoveRows
(
QModelIndex
(),
0
,
m_itemList
.
size
());
m_itemList
.
clear
();
endRemoveRows
();
if
(
!
m_itemList
.
isEmpty
())
{
beginRemoveRows
(
QModelIndex
(),
0
,
m_itemList
.
size
());
m_itemList
.
clear
();
endRemoveRows
();
}
}
Qt
::
ItemFlags
KFindItemModel
::
flags
(
const
QModelIndex
&
index
)
const
...
...
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