MCPcopy Create free account
hub / github.com/dail8859/NotepadNext / restoreSettings

Method restoreSettings

src/dialogs/MainWindow.cpp:1950–1966  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1948}
1949
1950void MainWindow::restoreSettings()
1951{
1952 qInfo(Q_FUNC_INFO);
1953
1954 ApplicationSettings *settings = app->getSettings();
1955
1956 zoomLevel = settings->value("Editor/ZoomLevel", 0).toInt();
1957
1958 if (settings->contains("Gui/ToolBar")) {
1959 QStringList actionNames;
1960 actionNames = settings->value("Gui/ToolBar").toStringList();
1961
1962 ui->mainToolBar->clear();
1963
1964 ActionUtils::populateActionContainer(ui->mainToolBar, this, actionNames);
1965 }
1966}
1967
1968ISearchResultsHandler *MainWindow::determineSearchResultsHandler()
1969{

Callers

nothing calls this directly

Calls 3

populateActionContainerFunction · 0.85
getSettingsMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected