Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit a17313c8 authored by Nicolas Fella's avatar Nicolas Fella

Merge branch 'PlaceholderMessages' into 'master'

Port to Kirigami.Placeholdermessage

See merge request kde/ktrip!16
parents a8d2ab30 be3515aa
......@@ -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