diff --git a/dde-introduction.spec b/dde-introduction.spec index 250d0fe68af6f5c5cb248b427bf9ff7399829707..8b4c1d946cad37b8a3294d2e34dfe5504b42f69e 100644 --- a/dde-introduction.spec +++ b/dde-introduction.spec @@ -1,11 +1,12 @@ Name: dde-introduction Version: 5.6.0.7 -Release: 2 +Release: 3 Summary: Introduction for UOS License: GPLv3+ URL: https://github.com/linuxdeepin/%{name} Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz Patch0: modify-QPainterPath-error.patch +Patch1: fix-not-open.patch BuildRequires: gcc-c++ BuildRequires: qt5-devel @@ -56,6 +57,9 @@ popd %{_datadir}/%{name}/ %changelog +* Wed Mar 16 2022 liweigang - 5.6.0.7-3 +- fix open fail + * Tue Feb 08 2022 liweigang - 5.6.0.7-2 - fix build error diff --git a/fix-not-open.patch b/fix-not-open.patch new file mode 100644 index 0000000000000000000000000000000000000000..e543d5ad2e1662f27f05b5917dc84ab3c4ccef14 --- /dev/null +++ b/fix-not-open.patch @@ -0,0 +1,17 @@ +diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp +index 739060c..f8a4472 100644 +--- a/src/mainwindow.cpp ++++ b/src/mainwindow.cpp +@@ -33,8 +33,10 @@ MainWindow::MainWindow(DWidget *parent) + QDBusConnection::sessionBus(), this)) + { + bool isx86 = QSysInfo::currentCpuArchitecture().startsWith("x86"); +- isx86 && (DSysInfo::uosEditionType() != DSysInfo::UosEdition::UosEnterpriseC) ? +- m_useVideo = true : m_useVideo = false; ++ //isx86 && (DSysInfo::uosEditionType() != DSysInfo::UosEdition::UosEnterpriseC) ? ++ // m_useVideo = true : m_useVideo = false; ++ ++ m_useVideo = false; + + connect(DGuiApplicationHelper::instance(), &DGuiApplicationHelper::themeTypeChanged, this, + &MainWindow::slotTheme);