From 85d637e62ed22e58e229ee84138cbeb9c325f31a Mon Sep 17 00:00:00 2001 From: Filippo Scognamiglio Date: Thu, 11 Dec 2014 13:50:52 +0100 Subject: [PATCH] Fix: undefined reference after refactoring. --- app/qml/PreprocessedTerminal.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/qml/PreprocessedTerminal.qml b/app/qml/PreprocessedTerminal.qml index ca69725..e95cf8f 100644 --- a/app/qml/PreprocessedTerminal.qml +++ b/app/qml/PreprocessedTerminal.qml @@ -90,6 +90,7 @@ Item{ } QMLTermScrollbar { + id: kterminalScrollbar terminal: kterminal anchors.margins: width * 0.5 width: terminal.fontMetrics.width * 0.75 @@ -99,7 +100,6 @@ Item{ radius: width * 0.25 opacity: 0.7 } - onOpacityChanged: restartBlurredSource(); } FontLoader{ id: fontLoader } @@ -235,6 +235,10 @@ Item{ onTerminalFontChanged: _blurredSourceEffect.restartBlurSource(); onRasterizationChanged: _blurredSourceEffect.restartBlurSource(); } + Connections { + target: kterminalScrollbar + onOpacityChanged: _blurredSourceEffect.restartBlurSource(); + } } }