forked from pool/kdelibs4support
This commit is contained in:
parent
5771116c3c
commit
5f6d3353c6
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 22 16:16:03 UTC 2016 - hrvoje.senjan@gmail.com
|
||||||
|
|
||||||
|
- Add and enable use-setFallbackSessionManagementEnabled-API-with-5.5.1.patch
|
||||||
|
on 42.1 Leap only, for now (kde#354724, boo#955280)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 17 22:07:24 UTC 2016 - hrvoje.senjan@gmail.com
|
Wed Feb 17 22:07:24 UTC 2016 - hrvoje.senjan@gmail.com
|
||||||
|
|
||||||
|
@ -78,6 +78,9 @@ Source: http://download.kde.org/stable/frameworks/%{_tar_path}/portingAi
|
|||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
# PATCH-FIX-UPSTREAM fix-session-saving.patch -- kde#354724, boo#955280
|
# PATCH-FIX-UPSTREAM fix-session-saving.patch -- kde#354724, boo#955280
|
||||||
Patch0: fix-session-saving.patch
|
Patch0: fix-session-saving.patch
|
||||||
|
# PATCH-FIX-UPSTREAM use-setFallbackSessionManagementEnabled-API-with-5.5.1.patch -- We can enable usage of setFallbackSessionManagementEnabled function
|
||||||
|
# with Qt 5.5.1, as we have the qtbase patch backported. For now only apppy patch on 42.1 Leap, as TW doesn't have that patch yet -- #354724, boo#955280
|
||||||
|
Patch1: use-setFallbackSessionManagementEnabled-API-with-5.5.1.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -191,6 +194,9 @@ KDEDIRS environment variable correctly. Development files.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
%if 0%{?suse_version} == 1315 && 0%{?is_opensuse}
|
||||||
|
%patch1 -p1
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake_kf5 -d build
|
%cmake_kf5 -d build
|
||||||
|
13
use-setFallbackSessionManagementEnabled-API-with-5.5.1.patch
Normal file
13
use-setFallbackSessionManagementEnabled-API-with-5.5.1.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/src/kdeui/kapplication.cpp b/src/kdeui/kapplication.cpp
|
||||||
|
index 54fd1de..631dc2b 100644
|
||||||
|
--- a/src/kdeui/kapplication.cpp
|
||||||
|
+++ b/src/kdeui/kapplication.cpp
|
||||||
|
@@ -380,7 +380,7 @@ void KApplicationPrivate::init(bool GUIenabled)
|
||||||
|
parseCommandLine();
|
||||||
|
|
||||||
|
QApplication::setDesktopSettingsAware(false);
|
||||||
|
-#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)
|
||||||
|
+#if QT_VERSION >= QT_VERSION_CHECK(5, 5, 1)
|
||||||
|
QGuiApplication::setFallbackSessionManagementEnabled(false);
|
||||||
|
#endif
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user