diff options
author | Pierre Rossi <pierre.rossi@digia.com> | 2014-03-12 18:36:24 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-14 11:43:31 +0100 |
commit | 38b5dc5fbdae25491435395202f6980f44ca8ef5 (patch) | |
tree | 4d6f31abad96ea8ed8d61d2d21cec5a19f3328f8 /src/core/render_widget_host_view_qt.cpp | |
parent | c4c163b9ef0cf8a59f683aecf079cadf0e1505d8 (diff) |
Tooltip support.
Basic tooltip support for widgets relying on the existing QToolTip
mechanism.
Left unimplemented on the Qt Quick side for now since ToolTip support
is still very much a work in progress there.
Change-Id: Ia4bfd715a224e0cbc147c8860e131d1545cebe1e
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'src/core/render_widget_host_view_qt.cpp')
-rw-r--r-- | src/core/render_widget_host_view_qt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/render_widget_host_view_qt.cpp b/src/core/render_widget_host_view_qt.cpp index 6f280fb55..d9822769c 100644 --- a/src/core/render_widget_host_view_qt.cpp +++ b/src/core/render_widget_host_view_qt.cpp @@ -511,9 +511,9 @@ void RenderWidgetHostViewQt::Destroy() delete this; } -void RenderWidgetHostViewQt::SetTooltipText(const string16&) +void RenderWidgetHostViewQt::SetTooltipText(const string16 &tooltip_text) { - // QT_NOT_YET_IMPLEMENTED + m_delegate->setTooltip(toQt(tooltip_text)); } void RenderWidgetHostViewQt::SelectionBoundsChanged(const ViewHostMsg_SelectionBounds_Params ¶ms) |