Commit 7f325149 authored by Nicolas Fella's avatar Nicolas Fella

Merge branch 'connectionmessage' into 'master'

add 'no connection' message

See merge request kde/ktrip!4
parents 5c130b12 29299540
......@@ -36,6 +36,8 @@ Kirigami.Page
ListView {
id: connectionList
anchors.fill: parent
model: KPT.JourneyQueryModel {
......@@ -102,6 +104,12 @@ Kirigami.Page
}
}
Label {
text: i18n("No connections found")
anchors.centerIn: parent
visible: connectionList.count === 0 && !theModel.loading
}
BusyIndicator {
running: theModel.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