MCPcopy Create free account
hub / github.com/collin80/SavvyCAN / readSettings

Method readSettings

helpwindow.cpp:36–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36void HelpWindow::readSettings()
37{
38 QSettings settings;
39 if (settings.value("Main/SaveRestorePositions", false).toBool())
40 {
41 resize(settings.value("HelpViewer/WindowSize", QSize(600, 700)).toSize());
42 move(settings.value("HelpViewer/WindowPos", QPoint(50, 50)).toPoint());
43 }
44}
45
46void HelpWindow::writeSettings()
47{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected