Merge Linuxero with main

This commit is contained in:
2025-03-07 12:10:18 +01:00
13 changed files with 323 additions and 88 deletions

View File

@@ -62,6 +62,7 @@ ApplicationWindow
property alias window: appWindow
}
Dialog
{
id: importDialog
@@ -117,7 +118,9 @@ ApplicationWindow
Component.onCompleted:
{
config.configurationReady.connect(goToLogin)
systray.activated.connect(showWindow)
if(bad_config)
{
importDialog.open()
@@ -129,6 +132,7 @@ ApplicationWindow
}
}
function showWindow(why)
{
if (why === 3)
@@ -153,4 +157,10 @@ ApplicationWindow
console.log("Main window closed!! Was soll ich tun? kann ich mich beenden?!")
}
}
function goToLogin()
{
appLoader.source= "LoginScreen.qml"
topBar.visible = true
}
}