From bdeb2fa41efe0424bf8a4728947c2823d2be99263e62966456a82d0530d6feef Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Tue, 15 Dec 2015 22:31:23 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/plasma5-workspace?expand=0&rev=155 --- plasma5-workspace.spec | 3 +++ use-old-connect-syntax.patch | 13 +++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 use-old-connect-syntax.patch diff --git a/plasma5-workspace.spec b/plasma5-workspace.spec index 8d51a7d..be4fdd8 100644 --- a/plasma5-workspace.spec +++ b/plasma5-workspace.spec @@ -33,6 +33,8 @@ Patch0: 0001-Rename-qdbus-in-startkde.patch Patch1: create_kdehome.patch # PATCH-FIX_OPENSUSE fix-breeze-sddm-theme-with-many-users.patch alarrosa@suse.com -- Asks for user/password and hide the user list when there's a large number of users Patch2: fix-breeze-sddm-theme-with-many-users.patch +# PATCH-FIX-OPENSUSE/NOT-YET-UPSTREAM use-old-connect-syntax.patch -- kde#352055 +Patch3: use-old-connect-syntax.patch # PATCHES 100-200 and above are from upstream 5.5 branch # PATCHES 201-300 and above are from upstream master/5.6 branch BuildRequires: kf5-filesystem @@ -202,6 +204,7 @@ workspace. Development files. %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 %build %cmake_kf5 -d build -- -DKDE4_COMMON_PAM_SERVICE=xdm -DKDE_DEFAULT_HOME=.kde4 -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5 diff --git a/use-old-connect-syntax.patch b/use-old-connect-syntax.patch new file mode 100644 index 0000000..31f83f2 --- /dev/null +++ b/use-old-connect-syntax.patch @@ -0,0 +1,13 @@ +diff --git a/applets/systemtray/plugin/host.cpp b/applets/systemtray/plugin/host.cpp +index 61e8705..e6a9e19 100644 +--- a/applets/systemtray/plugin/host.cpp ++++ b/applets/systemtray/plugin/host.cpp +@@ -99,7 +99,7 @@ Host::Host(QObject* parent) : + QObject(parent), + d(new HostPrivate(this)) + { +- QTimer::singleShot(0, this, &Host::init); ++ QTimer::singleShot(0, this, SLOT(init())); + } + + Host::~Host()