diff --git a/qml/pages/FirstPage.qml b/qml/pages/FirstPage.qml index e4d9709..54c6883 100644 --- a/qml/pages/FirstPage.qml +++ b/qml/pages/FirstPage.qml @@ -139,7 +139,12 @@ Page { id: delegate contentItem.height: visible ? Math.max(column.implicitHeight, Theme.itemSizeLarge+2*Theme.paddingMedium) : 0 - visible: false + IppPrinter { + id: printer + url: model.display + } + + visible: Object.keys(printer.attrs).length !== 0 property string name: printer.attrs["printer-name"].value != "" ? printer.attrs["printer-name"].value : qsTr("Unknown") property bool canPrint: Utils.supported_formats(printer, ConvertChecker, considerAdditionalFormatsSetting.value).mimetypes.indexOf(selectedFileType) != -1 @@ -198,11 +203,6 @@ Page { } } - IppPrinter { - id: printer - url: model.display - } - Image { id: icon anchors.top: parent.top