MCPcopy Create free account
hub / github.com/KDE/kdevelop / if

Method if

kdevplatform/sublime/idealcontroller.cpp:358–361  ·  view source on GitHub ↗

This code determines the initial visibility of the toolbar only if KMainWindow::applyMainWindowSettings() fails to restore the main window state from config.

Source from the content-addressed store, hash-verified

356 // This code determines the initial visibility of the toolbar only if KMainWindow::applyMainWindowSettings()
357 // fails to restore the main window state from config.
358 if (hideWhenEmpty) {
359 updateVisibility();
360 connect(m_buttons, &IdealButtonBarWidget::emptyChanged, this, &IdealToolBar::updateVisibility);
361 }
362 }
363
364 void updateVisibility()

Callers

nothing calls this directly

Calls 1

updateVisibilityFunction · 0.85

Tested by

no test coverage detected