1
0
mirror of https://github.com/Swordfish90/cool-retro-term.git synced 2025-01-18 20:20:45 +00:00

Moving time manager in ShaderTerminal since it is only used there.

This commit is contained in:
Filippo Scognamiglio 2014-11-09 15:20:05 +01:00
parent 4f22704922
commit 5552bea525
2 changed files with 6 additions and 5 deletions

View File

@ -53,7 +53,12 @@ ShaderEffect {
property real screen_brightness: shadersettings.brightness * 1.5 + 0.5
property real time: timeManager.time
TimeManager{
id: timeManager
enableTimer: terminalWindow.visible
}
property alias time: timeManager.time
property variant randomFunctionSource: randfuncsource
// If something goes wrong activate the fallback version of the shader.

View File

@ -108,10 +108,6 @@ ApplicationWindow{
ApplicationSettings{
id: shadersettings
}
TimeManager{
id: timeManager
enableTimer: terminalWindow.visible
}
TerminalContainer{
id: terminalContainer
anchors.fill: parent