UI: Connections: Fix warnings for Qt 5.14.

This commit is contained in:
Nodir Temirkhodjaev 2019-08-21 15:06:33 +05:00
parent 5307055750
commit 61fa27c267
3 changed files with 14 additions and 6 deletions

View File

@ -93,12 +93,12 @@ T.SplitView {
Connections {
target: fortManager
onAfterSaveWindowState: {
function onAfterSaveWindowState() {
if (splitOnEdited) {
fortSettings[settingsPropName] = splitOn;
}
}
onAfterRestoreWindowState: {
function onAfterRestoreWindowState() {
splitOn = fortSettings[settingsPropName] || 0.5;
}
}

View File

@ -17,8 +17,14 @@ Pane {
Connections {
target: mainPage
onEditResetted: page.onEditResetted()
onAboutToSave: page.onAboutToSave()
onSaved: page.onSaved()
function onEditResetted() {
page.onEditResetted();
}
function onAboutToSave() {
page.onAboutToSave();
}
function onSaved() {
page.onSaved();
}
}
}

View File

@ -19,7 +19,9 @@ Row {
Connections {
target: schedulePage
onSaveTaskInfo: saveTaskInfo()
function onSaveTaskInfo() {
saveTaskInfo();
}
}
CheckBox {