Commit be3515aa authored by Tobias Fella's avatar Tobias Fella

Port to Kirigami.Placeholdermessage

parent a8d2ab30
......@@ -21,7 +21,7 @@
import QtQuick 2.2
import QtQuick.Layouts 1.1
import QtQuick.Controls 2.4
import org.kde.kirigami 2.4 as Kirigami
import org.kde.kirigami 2.12 as Kirigami
import org.kde.kpublictransport 1.0 as KPT
import org.kde.ktrip 1.0
......@@ -116,7 +116,7 @@ Kirigami.ScrollablePage
icon.name: "go-down-symbolic"
}
Label {
Kirigami.PlaceholderMessage {
text: i18n("No connections found")
anchors.centerIn: parent
visible: connectionList.count === 0 && !theModel.loading
......
......@@ -21,7 +21,7 @@
import QtQuick 2.4
import QtQuick.Layouts 1.1
import QtQuick.Controls 2.4
import org.kde.kirigami 2.8 as Kirigami
import org.kde.kirigami 2.12 as Kirigami
import org.kde.kpublictransport 1.0 as KPT
import org.kde.ktrip 1.0
......@@ -54,7 +54,7 @@ Kirigami.ScrollablePage
}
}
Label {
Kirigami.PlaceholderMessage {
text: i18n("No locations found")
visible: locationView.count === 0 && !queryModel.loading
anchors.centerIn: parent
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment