From c48b5f4ae0afaf870db6e7ca45e16956cb0c56f8 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Tue, 15 Aug 2017 16:15:40 +0200 Subject: [PATCH] QmlDesigner: Switch tooltips in the navigator During refactoring the tooltips have been switched. Task-number: QTCREATORBUG-18667 Change-Id: Iaacb333deebff46b0858ffff9dbd8f30954c7db8 Reviewed-by: Leena Miettinen Reviewed-by: Tim Jenssen --- .../components/navigator/navigatortreemodel.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/plugins/qmldesigner/components/navigator/navigatortreemodel.cpp b/src/plugins/qmldesigner/components/navigator/navigatortreemodel.cpp index 45d7c2891a2..0b6c3cc6ae8 100644 --- a/src/plugins/qmldesigner/components/navigator/navigatortreemodel.cpp +++ b/src/plugins/qmldesigner/components/navigator/navigatortreemodel.cpp @@ -224,14 +224,14 @@ QVariant NavigatorTreeModel::data(const QModelIndex &index, int role) const if (role == Qt::CheckStateRole) return currentQmlObjectNode.isAliasExported() ? Qt::Checked : Qt::Unchecked; else if (role == Qt::ToolTipRole) - return tr("Toggles the visibility of this item in the form editor.\n" - "This is independent of the visibility property in QML."); + return tr("Toggles whether this item is exported as an " + "alias property of the root item."); } else if (index.column() == 2) { //visible if (role == Qt::CheckStateRole) return m_view->isNodeInvisible(modelNode) ? Qt::Unchecked : Qt::Checked; else if (role == Qt::ToolTipRole) - return tr("Toggles whether this item is exported as an " - "alias property of the root item."); + return tr("Toggles the visibility of this item in the form editor.\n" + "This is independent of the visibility property in QML."); } return QVariant();