Skip to content
GitLab
Menu
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
2ca0128f
Commit
2ca0128f
authored
Sep 10, 2021
by
Ilia Kats
Committed by
Christoph Cullmann
Sep 11, 2021
Browse files
remove unnecessary code
parent
0961ee4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
addons/latexunicodecompletion/completionmodel.cpp
View file @
2ca0128f
...
...
@@ -20,7 +20,6 @@
LatexCompletionModel
::
LatexCompletionModel
(
QObject
*
parent
)
:
KTextEditor
::
CodeCompletionModel
(
parent
)
{
setHasGroups
(
false
);
}
void
LatexCompletionModel
::
completionInvoked
(
KTextEditor
::
View
*
view
,
...
...
@@ -116,7 +115,7 @@ QModelIndex LatexCompletionModel::parent(const QModelIndex &index) const
return
QModelIndex
();
}
}
#include <iostream>
QVariant
LatexCompletionModel
::
data
(
const
QModelIndex
&
index
,
int
role
)
const
{
if
(
role
==
UnimportantItemRole
)
...
...
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