Heavily reduced idle cpu consumption.

This commit is contained in:
Filippo Scognamiglio
2014-03-30 18:30:35 +02:00
parent 9c83b1d654
commit 34f61cd86a
6 changed files with 13 additions and 5 deletions

View File

@@ -37,6 +37,8 @@ Item{
}
}
onUpdatedImage: {blurredSource.live = true;livetimer.restart();}
Component.onCompleted: {
font.pointSize = shadersettings.fontSize;
font.family = shadersettings.font.name;
@@ -58,6 +60,12 @@ Item{
sourceItem: blurredterminal
recursive: true
live: true
Timer{
id: livetimer
running: true
onTriggered: parent.live = false;
}
}
}

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 3.0.1, 2014-03-27T13:16:23. -->
<!-- Written by QtCreator 3.0.1, 2014-03-30T17:53:23. -->
<qtcreator>
<data>
<variable>ProjectExplorer.Project.ActiveTarget</variable>

View File

@@ -121,10 +121,6 @@ ApplicationWindow{
GradientStop{position: 0.7; color: "#00000000"}
}
}
Terminal{
anchors.fill: parent
}
}
ShaderSettings{