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)
slotListModeChanged(m_inputLine->listMode());
// fill stuff
update();
updateState();
}
......@@ -318,7 +318,7 @@ void KateQuickOpen::reselectFirst()
m_listView->setCurrentIndex(index);
}
void KateQuickOpen::update()
void KateQuickOpen::updateState()
{
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();
updateState();
}
void KateQuickOpen::updateViewGeometry()
......
......@@ -35,7 +35,7 @@ public:
* update state
* will fill model with current open documents, project documents, ...
*/
void update();
void updateState();
void updateViewGeometry();
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