summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-07-28 05:41:20 +1000
committerMichael Palimaka <kensington@gentoo.org>2016-07-28 05:42:07 +1000
commitb462f7a5e612e49fa906a71c53d90d94f8df303a (patch)
treefe18e8d70cd26ac0ed788bde98ef9d676d597cfb /kde-apps/cantor/files
parentkde-frameworks/sonnet: Use subslot on app-text/hunspell (diff)
downloadgentoo-b462f7a5e612e49fa906a71c53d90d94f8df303a.tar.gz
gentoo-b462f7a5e612e49fa906a71c53d90d94f8df303a.tar.bz2
gentoo-b462f7a5e612e49fa906a71c53d90d94f8df303a.zip
kde-apps/cantor: backport patch from upstream solving build failure with Qt 5.6
Gentoo-bug: 587082 Package-Manager: portage-2.3.0
Diffstat (limited to 'kde-apps/cantor/files')
-rw-r--r--kde-apps/cantor/files/cantor-15.12.3-qt56.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/kde-apps/cantor/files/cantor-15.12.3-qt56.patch b/kde-apps/cantor/files/cantor-15.12.3-qt56.patch
new file mode 100644
index 000000000000..6434f6592884
--- /dev/null
+++ b/kde-apps/cantor/files/cantor-15.12.3-qt56.patch
@@ -0,0 +1,27 @@
+From 683418b3663ddc588c44063cc11abb20970e8e08 Mon Sep 17 00:00:00 2001
+From: David Faure <faure@kde.org>
+Date: Thu, 2 Jun 2016 08:56:43 +0200
+Subject: [PATCH] Fix compilation error "qobject.h:300:9: error: static
+ assertion failed: Signal and slot arguments are not compatible."
+
+(cherry picked from commit 841b6f6e19d829d6ab9ee13a5d4b0bcc9f1ee2df)
+---
+ src/worksheettextitem.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/worksheettextitem.cpp b/src/worksheettextitem.cpp
+index 503153c..493ed48 100644
+--- a/src/worksheettextitem.cpp
++++ b/src/worksheettextitem.cpp
+@@ -180,7 +180,7 @@ void WorksheetTextItem::populateMenu(QMenu *menu, const QPointF& pos)
+ QKeyEvent* WorksheetTextItem::eventForStandardAction(KStandardAction::StandardAction actionID)
+ {
+ // there must be a better way to get the shortcut...
+- QAction * action = KStandardAction::create(actionID, this, 0, this);
++ QAction * action = KStandardAction::create(actionID, this, SLOT(copy()), this);
+ QKeySequence keySeq = action->shortcut();
+ // we do not support key sequences with multiple keys here
+ int code = keySeq[0];
+--
+2.7.3
+