| 495 | } |
| 496 | |
| 497 | void frmOptions::restoreDefaults() { |
| 498 | QSettings settings; |
| 499 | settings.clear(); |
| 500 | const QNapiConfig defaultConfig = |
| 501 | LibQNapi::configReader()->readConfig(settings); |
| 502 | |
| 503 | #ifdef Q_OS_MAC |
| 504 | InfoPlistDockIcon::setShowDockIcon(true); |
| 505 | #endif |
| 506 | |
| 507 | readConfig(defaultConfig); |
| 508 | } |
nothing calls this directly
no test coverage detected