diff --git a/share/qtcreator/qmldesigner/toolbar/Main.qml b/share/qtcreator/qmldesigner/toolbar/Main.qml index 39b14bb732f..2aff55a2ef3 100644 --- a/share/qtcreator/qmldesigner/toolbar/Main.qml +++ b/share/qtcreator/qmldesigner/toolbar/Main.qml @@ -473,7 +473,10 @@ Rectangle { function onProjectUploadError(errorCode: int, message: string) { shareNotification.type = ShareNotification.NotificationType.Error - shareNotification.setHelperText(qsTr("Upload failed (" + errorCode + ").")) + if (errorCode < 100) + shareNotification.setHelperText(qsTr("Upload failed. Please check your internet connection.")) + else + shareNotification.setHelperText(qsTr("Upload failed (" + errorCode + ").")) shareMenuItem.enabled = true } diff --git a/share/qtcreator/qmldesigner/toolbar/ShareNotification.qml b/share/qtcreator/qmldesigner/toolbar/ShareNotification.qml index f537f2de7b1..3f15a759e3a 100644 --- a/share/qtcreator/qmldesigner/toolbar/ShareNotification.qml +++ b/share/qtcreator/qmldesigner/toolbar/ShareNotification.qml @@ -76,11 +76,6 @@ Item { verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter } - - StudioControls.ToolTipArea { - anchors.fill: parent - text: qsTr("This can be your message.") - } } }