From 678be1a6024d88d591ce2988c518180657927d4a Mon Sep 17 00:00:00 2001 From: dimkanovikov Date: Mon, 9 Nov 2020 16:14:47 +0300 Subject: [PATCH] Forward updates for the Linux varsion to the site --- .../ManagementLayer/StartUp/StartUpManager.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/bin/scenarist-desktop/ManagementLayer/StartUp/StartUpManager.cpp b/src/bin/scenarist-desktop/ManagementLayer/StartUp/StartUpManager.cpp index d4854ec1f..4ec1ca42b 100755 --- a/src/bin/scenarist-desktop/ManagementLayer/StartUp/StartUpManager.cpp +++ b/src/bin/scenarist-desktop/ManagementLayer/StartUp/StartUpManager.cpp @@ -334,14 +334,6 @@ void StartUpManager::showUpdateDialogImpl() #ifdef Q_OS_LINUX isSupported = false; - const QString distroName = QSysInfo::prettyProductName().toLower(); - const QStringList supportedDistros({"ubuntu", "mint"}); - for (const QString &supportedDistro : supportedDistros) { - if (distroName.contains(supportedDistro)) { - isSupported = true; - break; - } - } #endif // @@ -365,8 +357,6 @@ void StartUpManager::showUpdateDialogImpl() // #ifdef Q_OS_WIN if (QProcess::startDetached(m_updateFile)) { -#elif defined Q_OS_LINUX - if (QProcess::startDetached("software-center", { m_updateFile })) { #else if (QDesktopServices::openUrl(QUrl::fromLocalFile(m_updateFile))) { #endif