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