mirror of
https://github.com/tnodir/fort
synced 2024-11-15 08:25:20 +00:00
UI: Connections: Fix warnings for Qt 5.14.
This commit is contained in:
parent
5307055750
commit
61fa27c267
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -19,7 +19,9 @@ Row {
|
||||
|
||||
Connections {
|
||||
target: schedulePage
|
||||
onSaveTaskInfo: saveTaskInfo()
|
||||
function onSaveTaskInfo() {
|
||||
saveTaskInfo();
|
||||
}
|
||||
}
|
||||
|
||||
CheckBox {
|
||||
|
Loading…
Reference in New Issue
Block a user