| 1393 | } |
| 1394 | |
| 1395 | void MainWindowImpl::showUpdateDialog() |
| 1396 | { |
| 1397 | QString caption = QString(tr("New version is available!")); |
| 1398 | QString message = QString(tr("A new version of %1 is available!\nWould you download it?")) |
| 1399 | .arg(globals::PROGRAM_NAME); |
| 1400 | |
| 1401 | DialogShowUpdateMsg dlg(this, caption, message, IniSettings::isAutoChechUpdates()); |
| 1402 | |
| 1403 | if (dlg.exec()) { |
| 1404 | QDesktopServices::openUrl(QUrl(DESTINATION_URL, QUrl::TolerantMode)); |
| 1405 | } |
| 1406 | } |
| 1407 | |
| 1408 | void MainWindowImpl::bugReport() |
| 1409 | { |
nothing calls this directly
no outgoing calls
no test coverage detected