/* * SPDX-FileCopyrightText: 2021 Aleix Pol Gonzalez * * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL */ import QtQuick import QtQuick.Layouts import org.kde.discover as Discover import org.kde.kirigami as Kirigami Kirigami.InlineMessage { required property Discover.AbstractResource resource Discover.Activatable.active: resource && text.length > 0 Layout.fillWidth: true text: resource.attentionText onLinkActivated: link => Qt.openUrlExternally(link) }