| 1936 | } |
| 1937 | |
| 1938 | void MainWindow::saveSettings() const |
| 1939 | { |
| 1940 | qInfo(Q_FUNC_INFO); |
| 1941 | |
| 1942 | ApplicationSettings *settings = app->getSettings(); |
| 1943 | |
| 1944 | settings->setValue("MainWindow/geometry", saveGeometry()); |
| 1945 | settings->setValue("MainWindow/windowState", saveState()); |
| 1946 | |
| 1947 | settings->setValue("Editor/ZoomLevel", zoomLevel); |
| 1948 | } |
| 1949 | |
| 1950 | void MainWindow::restoreSettings() |
| 1951 | { |
nothing calls this directly
no test coverage detected