mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-26 21:41:11 +00:00
fix: show app in main.qml when viewing in Qt Creator
This commit is contained in:
parent
78eb499957
commit
4cc2d2cd22
15
ui/main.qml
15
ui/main.qml
@ -1,10 +1,9 @@
|
|||||||
import QtQuick 2.3
|
import QtQuick 2.3
|
||||||
import QtQuick.Controls 1.3
|
|
||||||
import QtQuick.Controls 2.3
|
import QtQuick.Controls 2.3
|
||||||
import QtQuick.Layouts 1.3
|
import QtQuick.Layouts 1.3
|
||||||
import Qt.labs.platform 1.1
|
import Qt.labs.platform 1.1
|
||||||
import "./onboarding" as Onboarding
|
import "./onboarding"
|
||||||
import "./app" as App
|
import "./app"
|
||||||
|
|
||||||
ApplicationWindow {
|
ApplicationWindow {
|
||||||
id: applicationWindow
|
id: applicationWindow
|
||||||
@ -39,13 +38,13 @@ ApplicationWindow {
|
|||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
border.width: 0
|
border.width: 0
|
||||||
|
|
||||||
Onboarding.Intro {
|
Intro {
|
||||||
id: onboarding
|
id: onboarding
|
||||||
visible: !app.visible
|
visible: !app.visible
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
}
|
}
|
||||||
|
|
||||||
App.AppMain {
|
AppMain {
|
||||||
id: app
|
id: app
|
||||||
// TODO: Set this to a logic result determining when we need to show the onboarding screens
|
// TODO: Set this to a logic result determining when we need to show the onboarding screens
|
||||||
// Set to true to hide the onboarding screens manually
|
// Set to true to hide the onboarding screens manually
|
||||||
@ -58,8 +57,4 @@ ApplicationWindow {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*##^##
|
|
||||||
Designer {
|
|
||||||
D{i:9;anchors_height:40;anchors_width:40}
|
|
||||||
}
|
|
||||||
##^##*/
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user