From 09e9acf10a6de450fc2a59f641d115da8f7fe801 Mon Sep 17 00:00:00 2001 From: keke <243768648@qq.com> Date: Fri, 10 Mar 2023 14:54:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=A4=E6=96=AD=E6=98=9F=E7=81=AB?= =?UTF-8?q?=E5=BA=94=E7=94=A8=E5=95=86=E5=BA=97=E6=98=AF=E5=90=A6=E5=B7=B2?= =?UTF-8?q?=E5=AE=89=E8=A3=85=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/appmanagermodel.cpp | 2 +- src/mainwindow.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/appmanagermodel.cpp b/src/appmanagermodel.cpp index 6ede31c..ff6e6ab 100644 --- a/src/appmanagermodel.cpp +++ b/src/appmanagermodel.cpp @@ -92,7 +92,7 @@ void AppManagerModel::openStoreAppDetailPage(const QString &pkgName) void AppManagerModel::openSpkStoreAppDetailPage(const QString &pkgName) { - if (isPkgInstalled("spark-store")) { + if (!isPkgInstalled("spark-store")) { Q_EMIT notifyOpenSparkStoreNeedBeInstallDlg(); return; } diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 3272d0e..b6abeb9 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -231,7 +231,7 @@ void MainWindow::openSparkStoreNeedBeInstallDlg() linkLabel->setWordWrap(true); linkLabel->setOpenExternalLinks(true);//设置点击连接自动打开((跳转到浏览器) linkLabel->setTextInteractionFlags(Qt::TextInteractionFlag::TextBrowserInteraction); - const QString websiteLink = "https://gitee.com/deepin-community-store/spark-store/releases"; + const QString websiteLink = "https://gitee.com/deepin-community-store/spark-store/releases/latest"; QString text = QString("%2").arg(websiteLink).arg(websiteLink); linkLabel->setText(text); dlg->addContent(linkLabel); -- Gitee