Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15
calligra-plan
0001-Plan-fix-build-with-Qt-5.6.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Plan-fix-build-with-Qt-5.6.patch of Package calligra-plan
From 44b9a00de3d484bd469fa3a5ca7b666406908940 Mon Sep 17 00:00:00 2001 From: Wolfgang Bauer <wbauer@tmo.at> Date: Tue, 20 Mar 2018 10:29:23 +0100 Subject: [PATCH] Plan: fix build with Qt 5.6 The QAction constructor takes two arguments, text and parent. The parent argument is optional since Qt 5.7 only, it needs to be specified with earlier versions. Also, text should actually be a QString, so use QStringLiteral() to "convert" it. Differential Revision: https://phabricator.kde.org/D11505 --- plan/src/libs/ui/kpttaskeditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plan/src/libs/ui/kpttaskeditor.cpp b/plan/src/libs/ui/kpttaskeditor.cpp index 5f79abfd917..f2da3ab3349 100644 --- a/plan/src/libs/ui/kpttaskeditor.cpp +++ b/plan/src/libs/ui/kpttaskeditor.cpp @@ -622,7 +622,7 @@ void TaskEditor::slotContextMenuRequested( const QModelIndex& index, const QPoin void TaskEditor::editTasks(const QList<Task*> &tasks, const QPoint &pos) { QList<QAction*> lst; - QAction tasksEdit("Edit..."); + QAction tasksEdit(QStringLiteral("Edit..."), nullptr); if (!tasks.isEmpty()) { TasksEditController *ted = new TasksEditController(*project(), tasks, this); connect(&tasksEdit, SIGNAL(triggered(bool)), ted, SLOT(activate())); -- 2.13.6
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor