Commit 88bf0289 authored by Mark Nauwelaerts's avatar Mark Nauwelaerts
Browse files

quickopen: rename update() method to updateState()

... to avoid hiding of and confusion with base class method
parent bcb093aa
...@@ -277,7 +277,7 @@ KateQuickOpen::KateQuickOpen(KateMainWindow *mainWindow) ...@@ -277,7 +277,7 @@ KateQuickOpen::KateQuickOpen(KateMainWindow *mainWindow)
slotListModeChanged(m_inputLine->listMode()); slotListModeChanged(m_inputLine->listMode());
// fill stuff // fill stuff
update(); updateState();
} }
...@@ -318,7 +318,7 @@ void KateQuickOpen::reselectFirst() ...@@ -318,7 +318,7 @@ void KateQuickOpen::reselectFirst()
m_listView->setCurrentIndex(index); m_listView->setCurrentIndex(index);
} }
void KateQuickOpen::update() void KateQuickOpen::updateState()
{ {
m_base_model->refresh(m_mainWindow); m_base_model->refresh(m_mainWindow);
reselectFirst(); reselectFirst();
...@@ -386,7 +386,7 @@ void KateQuickOpen::slotListModeChanged(KateQuickOpenModel::List mode) ...@@ -386,7 +386,7 @@ void KateQuickOpen::slotListModeChanged(KateQuickOpenModel::List mode)
{ {
m_base_model->setListMode(mode); m_base_model->setListMode(mode);
// this changes things again, needs refresh, let's go all the way // this changes things again, needs refresh, let's go all the way
update(); updateState();
} }
void KateQuickOpen::updateViewGeometry() void KateQuickOpen::updateViewGeometry()
......
...@@ -35,7 +35,7 @@ public: ...@@ -35,7 +35,7 @@ public:
* update state * update state
* will fill model with current open documents, project documents, ... * will fill model with current open documents, project documents, ...
*/ */
void update(); void updateState();
void updateViewGeometry(); void updateViewGeometry();
protected: protected:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment