[vlc-commits] qml: use Label control as base for text in PointingToolTip
Prince Gupta
git at videolan.org
Mon Feb 8 10:00:08 UTC 2021
vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Tue Jan 12 17:44:34 2021 +0530| [1759a6ba7b95c82eb6ca5cd1612cc15845772a00] | committer: Pierre Lamot
qml: use Label control as base for text in PointingToolTip
Signed-off-by: Pierre Lamot <pierre at videolabs.io>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1759a6ba7b95c82eb6ca5cd1612cc15845772a00
---
modules/gui/qt/widgets/qml/PointingTooltip.qml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/gui/qt/widgets/qml/PointingTooltip.qml b/modules/gui/qt/widgets/qml/PointingTooltip.qml
index 8eb51920cb..8907175f88 100644
--- a/modules/gui/qt/widgets/qml/PointingTooltip.qml
+++ b/modules/gui/qt/widgets/qml/PointingTooltip.qml
@@ -16,6 +16,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
import QtQuick 2.11
+import QtQuick.Controls 2.4
import QtGraphicalEffects 1.0
import "qrc:///style/"
@@ -132,7 +133,7 @@ Item {
color: colors.glowColor
}
- Text {
+ Label {
anchors.fill: parent
text: timeMetrics.text
color: colors.text
More information about the vlc-commits
mailing list