diff --git a/share/qtcreator/qmldesigner/connectionseditor/Main.qml b/share/qtcreator/qmldesigner/connectionseditor/Main.qml index 4c6dd50c625..74efe6dddfd 100644 --- a/share/qtcreator/qmldesigner/connectionseditor/Main.qml +++ b/share/qtcreator/qmldesigner/connectionseditor/Main.qml @@ -93,10 +93,6 @@ Rectangle { buttonIcon: StudioTheme.Constants.add_medium tooltip: qsTr("Add something.") onClicked: { - print(ConnectionsEditorEditorBackend.dynamicPropertiesModel.delegate) - print(ConnectionsEditorEditorBackend.dynamicPropertiesModel.delegate.type) - print(ConnectionsEditorEditorBackend.dynamicPropertiesModel.delegate.type.model) - if (connections.checked) ConnectionsEditorEditorBackend.connectionModel.add() else if (bindings.checked) diff --git a/share/qtcreator/qmldesigner/connectionseditor/PopupDialog.qml b/share/qtcreator/qmldesigner/connectionseditor/PopupDialog.qml index 8032ae84ec7..9d17218b00a 100644 --- a/share/qtcreator/qmldesigner/connectionseditor/PopupDialog.qml +++ b/share/qtcreator/qmldesigner/connectionseditor/PopupDialog.qml @@ -20,8 +20,7 @@ Window { flags: Qt.FramelessWindowHint | Qt.Dialog color: StudioTheme.Values.themePopoutBackground - function ensureVerticalPosition() - { + function ensureVerticalPosition() { if ((window.y + window.height) > (Screen.height - window.style.dialogScreenMargin)) { window.y = (Screen.height - window.height - window.style.dialogScreenMargin) } @@ -29,9 +28,7 @@ Window { onHeightChanged: window.ensureVerticalPosition() - function popup(item) { - print("popup " + item) var padding = 12 var p = item.mapToGlobal(0, 0) window.x = p.x - window.width - padding