diff options
Diffstat (limited to 'src/qdesktopitem.cpp')
-rw-r--r-- | src/qdesktopitem.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qdesktopitem.cpp b/src/qdesktopitem.cpp index c0812152..d50fa1bc 100644 --- a/src/qdesktopitem.cpp +++ b/src/qdesktopitem.cpp @@ -80,6 +80,11 @@ int QDesktopItem::availableHeight() const return desktopWidget.availableGeometry().height(); } +bool QDesktopItem::nativeTextRendering() const +{ + return qgetenv("DESKTOPCOMPONENTS_USE_NATIVE_TEXT").toInt() != 0; +} + QDesktopItem *QDesktopItem::qmlAttachedProperties(QObject *obj) { return new QDesktopItem(obj); } |