!12 fix open fail
From: @ll3366 Reviewed-by: @weidongkl Signed-off-by: @weidongkl
This commit is contained in:
commit
31b28e498d
@ -1,11 +1,12 @@
|
|||||||
Name: dde-introduction
|
Name: dde-introduction
|
||||||
Version: 5.6.0.7
|
Version: 5.6.0.7
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Introduction for UOS
|
Summary: Introduction for UOS
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: https://github.com/linuxdeepin/%{name}
|
URL: https://github.com/linuxdeepin/%{name}
|
||||||
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
Patch0: modify-QPainterPath-error.patch
|
Patch0: modify-QPainterPath-error.patch
|
||||||
|
Patch1: fix-not-open.patch
|
||||||
|
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: qt5-devel
|
BuildRequires: qt5-devel
|
||||||
@ -56,6 +57,9 @@ popd
|
|||||||
%{_datadir}/%{name}/
|
%{_datadir}/%{name}/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 16 2022 liweigang <liweiganga@uniontech.com> - 5.6.0.7-3
|
||||||
|
- fix open fail
|
||||||
|
|
||||||
* Tue Feb 08 2022 liweigang <liweiganga@uniontech.com> - 5.6.0.7-2
|
* Tue Feb 08 2022 liweigang <liweiganga@uniontech.com> - 5.6.0.7-2
|
||||||
- fix build error
|
- fix build error
|
||||||
|
|
||||||
|
|||||||
17
fix-not-open.patch
Normal file
17
fix-not-open.patch
Normal file
@ -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);
|
||||||
Loading…
x
Reference in New Issue
Block a user