Port kdeconnect_share_config away from Qt labs

This commit is contained in:
Carl Schwan 2024-10-05 20:59:09 +02:00
parent 03d8e3c2cd
commit 0e782de07f

View file

@ -7,8 +7,8 @@
import QtQuick 2.15 import QtQuick 2.15
import QtQuick.Controls 2.15 as QQC2 import QtQuick.Controls 2.15 as QQC2
import QtQuick.Layouts 1.15 import QtQuick.Layouts 1.15
import QtQuick.Dialogs
import org.kde.kirigami 2.20 as Kirigami import org.kde.kirigami 2.20 as Kirigami
import Qt.labs.platform 1.1
import org.kde.kdeconnect 1.0 import org.kde.kdeconnect 1.0
Kirigami.ScrollablePage { Kirigami.ScrollablePage {
@ -28,7 +28,7 @@ Kirigami.ScrollablePage {
currentFolder: path.text currentFolder: path.text
onAccepted: { onAccepted: {
path.text = currentFolder.toString().replace("file://", "") path.text = selectedFolder.toString().replace("file://", "")
} }
} }