| 137 | } |
| 138 | |
| 139 | void CTrayIconController::messageClicked() |
| 140 | { |
| 141 | switch (m_LastInfo) |
| 142 | { |
| 143 | case TrayInfo_AutoLaunchEnabled: |
| 144 | show(); |
| 145 | break; |
| 146 | case TrayInfo_AutoLaunchFailed: |
| 147 | QDesktopServices::openUrl(QUrl("https://github.com/LibreVR/Revive/issues")); |
| 148 | break; |
| 149 | case TrayInfo_OculusLibraryNotFound: |
| 150 | QDesktopServices::openUrl(QUrl("https://oculus.com/setup")); |
| 151 | break; |
| 152 | } |
| 153 | } |
| 154 | |
| 155 | QString CTrayIconController::openDialog() |
| 156 | { |
nothing calls this directly
no outgoing calls
no test coverage detected