Merge branch 'Plasma/5.16'

wilder-5.17
Kai Uwe Broulik 7 years ago
commit e2c076b2e0
  1. 5
      applets/notifications/package/contents/ui/SelectableLabel.qml

@ -20,6 +20,7 @@
*/ */
import QtQuick 2.8 import QtQuick 2.8
import QtQuick.Window 2.2
import QtQuick.Layouts 1.1 import QtQuick.Layouts 1.1
import org.kde.plasma.core 2.0 as PlasmaCore import org.kde.plasma.core 2.0 as PlasmaCore
@ -73,7 +74,9 @@ Item {
font.underline: theme.defaultFont.underline font.underline: theme.defaultFont.underline
font.weight: theme.defaultFont.weight font.weight: theme.defaultFont.weight
font.wordSpacing: theme.defaultFont.wordSpacing font.wordSpacing: theme.defaultFont.wordSpacing
renderType: Text.NativeRendering // Work around Qt bug where NativeRendering breaks for non-integer scale factors
// https://bugreports.qt.io/browse/QTBUG-67007
renderType: Screen.devicePixelRatio % 1 !== 0 ? Text.QtRendering : Text.NativeRendering
selectByMouse: true selectByMouse: true
readOnly: true readOnly: true
wrapMode: Text.Wrap wrapMode: Text.Wrap

Loading…
Cancel
Save