diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2019-08-30 19:29:25 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2019-11-23 20:06:14 +0100 |
commit | 8e611abe87dd78095a35d156874a5b70ca72eb3e (patch) | |
tree | ebb6e394ca207e41e6d121857fa1266a2226ddfe /resources | |
parent | dc173581f1d224f42491188c6b48d28c4d2ff242 (diff) |
Replace timeline with empty qml view
Diffstat (limited to 'resources')
-rw-r--r-- | resources/qml/TimelineView.qml | 11 | ||||
-rw-r--r-- | resources/res.qrc | 3 |
2 files changed, 14 insertions, 0 deletions
diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml new file mode 100644 index 00000000..d81e3ae1 --- /dev/null +++ b/resources/qml/TimelineView.qml @@ -0,0 +1,11 @@ +import QtQuick 2.1 + +Rectangle { + anchors.fill: parent + + Text { + anchors.centerIn: parent + text: qsTr("No room open") + font.pointSize: 24 + } +} diff --git a/resources/res.qrc b/resources/res.qrc index ad27af5a..65770c8c 100644 --- a/resources/res.qrc +++ b/resources/res.qrc @@ -114,4 +114,7 @@ <file>styles/nheko.qss</file> <file>styles/nheko-dark.qss</file> </qresource> + <qresource prefix="/"> + <file>qml/TimelineView.qml</file> + </qresource> </RCC> |