Fix LoginPage
This commit is contained in:
@@ -8,7 +8,7 @@ import QtQuick 2.12
|
|||||||
import QtQuick.Controls 2.12 as QQC2
|
import QtQuick.Controls 2.12 as QQC2
|
||||||
import QtQuick.Layouts 1.12
|
import QtQuick.Layouts 1.12
|
||||||
|
|
||||||
import NeoChat 0.1
|
import org.kde.neochat 0.1
|
||||||
|
|
||||||
import NeoChat.Component 2.0
|
import NeoChat.Component 2.0
|
||||||
|
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ Kirigami.ApplicationWindow {
|
|||||||
|
|
||||||
onInitiated: {
|
onInitiated: {
|
||||||
if (Controller.accountCount === 0) {
|
if (Controller.accountCount === 0) {
|
||||||
pageStack.replace("qrc:/qml/LoginPage.qml", {});
|
pageStack.replace("qrc:/imports/NeoChat/Page/LoginPage.qml", {});
|
||||||
} else {
|
} else {
|
||||||
pageStack.replace(roomListComponent);
|
pageStack.replace(roomListComponent);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user