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

Method restoreWindowState

src/dialogs/MainWindow.cpp:1981–1991  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1979}
1980
1981void MainWindow::restoreWindowState()
1982{
1983 ApplicationSettings *settings = app->getSettings();
1984
1985 restoreGeometry(settings->value("MainWindow/geometry").toByteArray());
1986 restoreState(settings->value("MainWindow/windowState").toByteArray());
1987
1988 // Always hide the dock no matter how the application was closed
1989 SearchResultsDock *srDock = findChild<SearchResultsDock *>();
1990 srDock->hide();
1991}
1992
1993void MainWindow::switchToEditor(const ScintillaNext *editor)
1994{

Callers 1

initMethod · 0.80

Calls 1

getSettingsMethod · 0.80

Tested by

no test coverage detected