Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Staging:D:DVD
plasma5-pk-updates
0001-Use-n-instead-of-br-for-the-extra-part-of-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Use-n-instead-of-br-for-the-extra-part-of-the-summar.patch of Package plasma5-pk-updates
From 339e7d5b027c9907fbced789c50c75b249b23dd6 Mon Sep 17 00:00:00 2001 From: Fabian Vogt <fabian@ritter-vogt.de> Date: Wed, 9 May 2018 22:32:17 +0200 Subject: [PATCH] Use \n instead of <br> for the extra part of the summary Summary: The tooltip text only supports plaintext, so it contained a literal "<br>". A "\n" works as a newline in both the expanded representation and the tooltip. Test Plan: Hovered over the icon with available security updates. Now the text includes a newline instead of a literal "<br>". Reviewers: lukas, jgrulich Subscribers: plasma-devel Differential Revision: https://phabricator.kde.org/D12790 --- src/declarative/pkupdates.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/declarative/pkupdates.cpp b/src/declarative/pkupdates.cpp index 71b9847..f8fd0ac 100644 --- a/src/declarative/pkupdates.cpp +++ b/src/declarative/pkupdates.cpp @@ -131,7 +131,7 @@ QString PkUpdates::message() const if (extra.isEmpty()) return msg; else - return msg + "<br>" + i18n("(including %1)", extra.join(i18n(" and "))); + return msg + "\n" + i18n("(including %1)", extra.join(i18n(" and "))); } else if (!isNetworkOnline()) { return i18n("Your system is offline"); } else if (!m_lastCheckSuccessful) { -- 2.16.2
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