Heavily reduced idle cpu consumption.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -121,10 +121,6 @@ ApplicationWindow{
|
||||
GradientStop{position: 0.7; color: "#00000000"}
|
||||
}
|
||||
}
|
||||
|
||||
Terminal{
|
||||
anchors.fill: parent
|
||||
}
|
||||
}
|
||||
|
||||
ShaderSettings{
|
||||
|
||||
Reference in New Issue
Block a user