12
0
Hrvoje Senjan
2016-02-16 22:04:49 +00:00
committed by Git OBS Bridge
parent c19fde948b
commit 644b956915
3 changed files with 42 additions and 0 deletions

34
kuiserver5_qApp.patch Normal file
View File

@@ -0,0 +1,34 @@
diff --git a/kuiserver/CMakeLists.txt b/kuiserver/CMakeLists.txt
index 0f7c29e..b9638aa 100644
--- a/kuiserver/CMakeLists.txt
+++ b/kuiserver/CMakeLists.txt
@@ -61,6 +61,7 @@ endif ()
target_link_libraries(kdeinit_kuiserver5
Qt5::DBus
+ Qt5::Widgets
KF5::ConfigWidgets
KF5::DBusAddons
KF5::ItemViews
diff --git a/kuiserver/main.cpp b/kuiserver/main.cpp
index 3cc118a..9dd1ad3 100644
--- a/kuiserver/main.cpp
+++ b/kuiserver/main.cpp
@@ -28,6 +28,7 @@
#include <kdbusservice.h>
#include <QCommandLineParser>
+#include <QApplication>
Q_LOGGING_CATEGORY(KUISERVER, "kuiserver")
@@ -35,7 +36,7 @@ extern "C" Q_DECL_EXPORT int kdemain(int argc, char **argv)
{
QLoggingCategory::setFilterRules(QStringLiteral("kuiserver.debug = true"));
- QCoreApplication app(argc, argv);
+ QApplication app(argc, argv);
app.setApplicationName(QStringLiteral("kuiserver"));
app.setApplicationVersion(QStringLiteral("2.0"));
app.setOrganizationDomain(QStringLiteral("kde.org"));

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 16 22:00:36 UTC 2016 - hrvoje.senjan@gmail.com
- Added kuiserver5_qApp.patch (boo#965922)
-------------------------------------------------------------------
Thu Feb 4 16:20:20 UTC 2016 - hrvoje.senjan@gmail.com

View File

@@ -34,6 +34,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 kuiserver5_qApp.patch -- kuiserver can't be a QCoreApplications as it uses QWidget
Patch3: kuiserver5_qApp.patch
# PATCHES 100-200 and above are from upstream 5.5 branch
Patch100: reset-the-model-on-list-always-shown-hide-change.patch
# PATCHES 201-300 and above are from upstream master/5.6 branch
@@ -204,6 +206,7 @@ workspace. Development files.
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch100 -p1
%build