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
Kate
Commits
ea39a8fc
Commit
ea39a8fc
authored
Jul 21, 2022
by
Waqar Ahmed
Browse files
Fix connect statement
Proxy models dont emit rowsMoved
parent
bf42612a
Pipeline
#207359
passed with stage
in 5 minutes and 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
addons/filetree/katefiletree.cpp
View file @
ea39a8fc
...
...
@@ -182,7 +182,7 @@ void KateFileTree::setModel(QAbstractItemModel *model)
header
()
->
resizeSection
(
1
,
minSize
);
// proxy never emits rowsMoved
connect
(
m_proxyModel
,
&
QAbstractItemModel
::
rowsMoved
,
this
,
&
KateFileTree
::
onRowsMoved
);
connect
(
m_proxyModel
->
sourceModel
()
,
&
QAbstractItemModel
::
rowsMoved
,
this
,
&
KateFileTree
::
onRowsMoved
);
}
void
KateFileTree
::
onRowsMoved
(
const
QModelIndex
&
,
int
,
int
,
const
QModelIndex
&
destination
,
int
row
)
...
...
Waqar Ahmed
@waqar
mentioned in merge request
!773 (merged)
·
Jul 21, 2022
mentioned in merge request
!773 (merged)
mentioned in merge request !773
Toggle commit list
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