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
88bf0289
Commit
88bf0289
authored
May 04, 2021
by
Mark Nauwelaerts
Browse files
quickopen: rename update() method to updateState()
... to avoid hiding of and confusion with base class method
parent
bcb093aa
Changes
2
Hide whitespace changes
Inline
Side-by-side
kate/quickopen/katequickopen.cpp
View file @
88bf0289
...
...
@@ -277,7 +277,7 @@ KateQuickOpen::KateQuickOpen(KateMainWindow *mainWindow)
slotListModeChanged
(
m_inputLine
->
listMode
());
// fill stuff
update
();
update
State
();
}
...
...
@@ -318,7 +318,7 @@ void KateQuickOpen::reselectFirst()
m_listView
->
setCurrentIndex
(
index
);
}
void
KateQuickOpen
::
update
()
void
KateQuickOpen
::
update
State
()
{
m_base_model
->
refresh
(
m_mainWindow
);
reselectFirst
();
...
...
@@ -386,7 +386,7 @@ void KateQuickOpen::slotListModeChanged(KateQuickOpenModel::List mode)
{
m_base_model
->
setListMode
(
mode
);
// this changes things again, needs refresh, let's go all the way
update
();
update
State
();
}
void
KateQuickOpen
::
updateViewGeometry
()
...
...
kate/quickopen/katequickopen.h
View file @
88bf0289
...
...
@@ -35,7 +35,7 @@ public:
* update state
* will fill model with current open documents, project documents, ...
*/
void
update
();
void
update
State
();
void
updateViewGeometry
();
protected:
...
...
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