GODT-919 GODT-1022 GODT-947 Logs and signals

+ Added startup logs
+ Added wait group for update notifications
+ Changed hooks in debug and trace level
This commit is contained in:
Jakub
2021-02-08 14:47:40 +01:00
committed by Michal Horejsek
parent bcef1c36ba
commit c6107dbd4b
21 changed files with 93 additions and 37 deletions

View File

@ -327,6 +327,8 @@ Item {
go.failedAutostart = qsTr("Unable to configure automatic start." , "notification", -1)
go.genericErrSeeLogs = qsTr("An error happened during procedure. See logs for more details." , "notification", -1)
go.guiIsReady()
// start window
gui.openMainWindow(false)
if (go.isShownOnStart) {

View File

@ -432,6 +432,9 @@ Item {
go.bugNotSent = qsTr("Unable to submit bug report." , "notification", -1)
go.bugReportSent = qsTr("Bug report successfully sent." , "notification", -1)
go.guiIsReady()
gui.allMonths = getMonthList(1,12)
gui.allMonthsChanged()
}

View File

@ -360,6 +360,7 @@ Window {
signal updateFinished(bool hasError)
signal guiIsReady()
signal showOutgoingNoEncPopup(string subject)
signal setOutgoingNoEncPopupCoord(real x, real y)

View File

@ -918,6 +918,8 @@ Window {
signal notifyUpdate()
signal updateFinished(bool hasError)
signal guiIsReady()
signal openReleaseNotesExternally()
signal notifyLogout(string accname)