Checks for software updates if needed.
| 1221 | // Checks for software updates if needed. |
| 1222 | // |
| 1223 | void CPathCopyCopyContextMenuExt::CheckForUpdates() |
| 1224 | { |
| 1225 | // See if we're due for an update check. |
| 1226 | if (GetSettings().NeedsUpdateCheck()) { |
| 1227 | // Mark the last update check as now so that we don't check too often. |
| 1228 | GetSettings().SetLastUpdateCheckNow(); |
| 1229 | |
| 1230 | // Launch the settings app. It will handle the check. |
| 1231 | PCC::SettingsApp().Launch(PCC::SettingsApp::Options().WithUpdateCheck()); |
| 1232 | } |
| 1233 | } |
nothing calls this directly
no test coverage detected