MCPcopy Create free account
hub / github.com/cutechess/cutechess / writeSettings

Method writeSettings

projects/gui/src/mainwindow.cpp:423–434  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

421}
422
423void MainWindow::writeSettings()
424{
425 QSettings s;
426 s.beginGroup("ui");
427 s.beginGroup("mainwindow");
428
429 s.setValue("geometry", saveGeometry());
430 s.setValue("window_state", saveState());
431
432 s.endGroup();
433 s.endGroup();
434}
435
436void MainWindow::addGame(ChessGame* game)
437{

Callers 1

enableSettingsUpdatesMethod · 0.45

Calls 1

setValueMethod · 0.45

Tested by

no test coverage detected