Remove unused property
This commit is contained in:
@@ -18,7 +18,6 @@ Kirigami.ApplicationWindow {
|
|||||||
property int columnWidth: Kirigami.Units.gridUnit * 13
|
property int columnWidth: Kirigami.Units.gridUnit * 13
|
||||||
|
|
||||||
property RoomListPage roomListPage
|
property RoomListPage roomListPage
|
||||||
property bool roomListLoaded: false
|
|
||||||
|
|
||||||
property RoomPage roomPage
|
property RoomPage roomPage
|
||||||
property SpaceHomePage spaceHomePage
|
property SpaceHomePage spaceHomePage
|
||||||
@@ -36,7 +35,6 @@ Kirigami.ApplicationWindow {
|
|||||||
showExisting: true
|
showExisting: true
|
||||||
onConnectionChosen: {
|
onConnectionChosen: {
|
||||||
pageStack.replace(roomListComponent);
|
pageStack.replace(roomListComponent);
|
||||||
roomListLoaded = true;
|
|
||||||
roomListPage = pageStack.currentItem;
|
roomListPage = pageStack.currentItem;
|
||||||
RoomManager.loadInitialRoom();
|
RoomManager.loadInitialRoom();
|
||||||
}
|
}
|
||||||
@@ -63,7 +61,6 @@ Kirigami.ApplicationWindow {
|
|||||||
target: LoginHelper
|
target: LoginHelper
|
||||||
function onLoaded() {
|
function onLoaded() {
|
||||||
pageStack.replace(roomListComponent);
|
pageStack.replace(roomListComponent);
|
||||||
roomListLoaded = true;
|
|
||||||
roomListPage = pageStack.currentItem;
|
roomListPage = pageStack.currentItem;
|
||||||
RoomManager.loadInitialRoom();
|
RoomManager.loadInitialRoom();
|
||||||
}
|
}
|
||||||
@@ -321,7 +318,6 @@ Kirigami.ApplicationWindow {
|
|||||||
if (AccountRegistry.rowCount() === 0) {
|
if (AccountRegistry.rowCount() === 0) {
|
||||||
RoomManager.reset();
|
RoomManager.reset();
|
||||||
pageStack.clear();
|
pageStack.clear();
|
||||||
roomListLoaded = false;
|
|
||||||
pageStack.push(Qt.createComponent('org.kde.neochat', '.qml'));
|
pageStack.push(Qt.createComponent('org.kde.neochat', '.qml'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user