kdeconnect-kde/app/qml/PluginInfoPage.qml
Carl Schwan f12aa5d88f Fix qml warning
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-12-14 16:46:57 +00:00

31 lines
661 B
QML

/*
* SPDX-FileCopyrightText: 2019 Nicolas Fella <nicolas.fella@gmx.de>
*
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
import QtQuick 2.15
import org.kde.kirigami 2.20 as Kirigami
Kirigami.Page {
id: root
property string configFile
property string device
actions.main: loader.item && loader.item.action ? loader.item.action : null
onConfigFileChanged: loader.setSource(configFile, {
device: root.device
})
Loader {
anchors.fill: parent
id: loader
Component.onCompleted: setSource(configFile, {
device: root.device
})
}
}