MCPcopy Create free account
hub / github.com/Faster3ck/Converseen / showUpdateDialog

Method showUpdateDialog

src/mainwindowimpl.cpp:1395–1406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1393}
1394
1395void 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
1408void MainWindowImpl::bugReport()
1409{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected