summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Uwe Broulik <kde@privat.broulik.de>2017-04-19 13:22:17 (GMT)
committerKai Uwe Broulik <kde@privat.broulik.de>2017-04-19 13:22:17 (GMT)
commit4d3760c8aa9d6a99e5239019fb9a29aab2e22896 (patch)
treef8906768cea9ad07fea6d923ff999d2951c07bb6
parente34b0064d6ff787270127d261be65c3b6780b31f (diff)
[Media Controller] Enforce PlainText format
Unfortunately doesn't apply to toolTipMainText
-rw-r--r--applets/mediacontroller/contents/ui/ExpandedRepresentation.qml2
-rw-r--r--applets/mediacontroller/contents/ui/main.qml1
2 files changed, 3 insertions, 0 deletions
diff --git a/applets/mediacontroller/contents/ui/ExpandedRepresentation.qml b/applets/mediacontroller/contents/ui/ExpandedRepresentation.qml
index 596421d..87942f5 100644
--- a/applets/mediacontroller/contents/ui/ExpandedRepresentation.qml
+++ b/applets/mediacontroller/contents/ui/ExpandedRepresentation.qml
@@ -192,6 +192,7 @@ Item {
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
elide: Text.ElideRight
text: root.track ? root.track : i18n("No media playing")
+ textFormat: Text.PlainText
}
PlasmaExtras.Heading {
@@ -205,6 +206,7 @@ Item {
elide: Text.ElideRight
text: root.artist || ""
+ textFormat: Text.PlainText
}
}
}
diff --git a/applets/mediacontroller/contents/ui/main.qml b/applets/mediacontroller/contents/ui/main.qml
index ac6232f..d2e7cd2 100644
--- a/applets/mediacontroller/contents/ui/main.qml
+++ b/applets/mediacontroller/contents/ui/main.qml
@@ -65,6 +65,7 @@ Item {
Plasmoid.switchHeight: units.gridUnit * 10
Plasmoid.icon: albumArt ? albumArt : "media-playback-start"
Plasmoid.toolTipMainText: i18n("No media playing")
+ Plasmoid.toolTipTextFormat: Text.PlainText
Plasmoid.status: PlasmaCore.Types.ActiveStatus
Plasmoid.onContextualActionsAboutToShow: {