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

Method writeSettings

helpwindow.cpp:46–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46void HelpWindow::writeSettings()
47{
48 QSettings settings;
49
50 if (settings.value("Main/SaveRestorePositions", false).toBool())
51 {
52 settings.setValue("HelpViewer/WindowSize", size());
53 settings.setValue("HelpViewer/WindowPos", pos());
54 }
55}
56
57HelpWindow* HelpWindow::getRef()
58{

Callers

nothing calls this directly

Calls 1

sizeFunction · 0.85

Tested by

no test coverage detected