mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2025-01-18 12:15:27 +00:00
Restore legacy Connection slots. Restore compilation on Qt 5.12.
This commit is contained in:
parent
41f34c3992
commit
2261af17d7
@ -76,7 +76,7 @@ Loader {
|
||||
Connections {
|
||||
target: kterminal
|
||||
|
||||
function onImagePainted() {
|
||||
onImagePainted: {
|
||||
completelyUpdate()
|
||||
}
|
||||
}
|
||||
@ -84,19 +84,19 @@ Loader {
|
||||
Connections {
|
||||
target: appSettings
|
||||
|
||||
function onBurnInChanged() {
|
||||
onBurnInChanged: {
|
||||
burnInEffect.restartBlurSource()
|
||||
}
|
||||
|
||||
function onTerminalFontChanged() {
|
||||
onTerminalFontChanged: {
|
||||
burnInEffect.restartBlurSource()
|
||||
}
|
||||
|
||||
function onRasterizationChanged() {
|
||||
onRasterizationChanged: {
|
||||
burnInEffect.restartBlurSource()
|
||||
}
|
||||
|
||||
function onBurnInQualityChanged() {
|
||||
onBurnInQualityChanged: {
|
||||
burnInEffect.restartBlurSource()
|
||||
}
|
||||
}
|
||||
|
@ -47,14 +47,14 @@ Item{
|
||||
Connections {
|
||||
target: copyAction
|
||||
|
||||
function onTriggered() {
|
||||
onTriggered: {
|
||||
kterminal.copyClipboard()
|
||||
}
|
||||
}
|
||||
Connections {
|
||||
target: pasteAction
|
||||
|
||||
function onTriggered() {
|
||||
onTriggered: {
|
||||
kterminal.pasteClipboard()
|
||||
}
|
||||
}
|
||||
@ -63,29 +63,29 @@ Item{
|
||||
Connections {
|
||||
target: appSettings
|
||||
|
||||
function onFontScalingChanged() {
|
||||
onFontScalingChanged: {
|
||||
terminalContainer.updateSources()
|
||||
}
|
||||
|
||||
function onFontWidthChanged() {
|
||||
onFontWidthChanged: {
|
||||
terminalContainer.updateSources()
|
||||
}
|
||||
}
|
||||
Connections {
|
||||
target: terminalContainer
|
||||
|
||||
function onWidthChanged() {
|
||||
onWidthChanged: {
|
||||
terminalContainer.updateSources()
|
||||
}
|
||||
|
||||
function onHeightChanged() {
|
||||
onHeightChanged: {
|
||||
terminalContainer.updateSources()
|
||||
}
|
||||
}
|
||||
Connections {
|
||||
target: terminalWindow
|
||||
|
||||
function onActiveChanged() {
|
||||
onActiveChanged: {
|
||||
kterminal.forceActiveFocus()
|
||||
}
|
||||
}
|
||||
|
@ -69,7 +69,7 @@ ColumnLayout {
|
||||
Connections {
|
||||
target: appSettings
|
||||
|
||||
function onTerminalFontChanged() {
|
||||
onTerminalFontChanged: {
|
||||
fontChanger.updateIndex()
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user