mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2025-09-25 06:32:43 +01:00
Heavily reduced idle cpu consumption.
This commit is contained in:
@@ -903,6 +903,8 @@ void KTerminalDisplay::updateImage()
|
||||
delete[] dirtyMask;
|
||||
delete[] disstrU;
|
||||
|
||||
//Notify changes to qml
|
||||
emit updatedImage();
|
||||
}
|
||||
|
||||
void KTerminalDisplay::setBlinkingCursor(bool blink)
|
||||
|
@@ -404,6 +404,7 @@ signals:
|
||||
void changedAutoVKB(bool au);
|
||||
void changedAutoFocus(bool au);
|
||||
|
||||
void updatedImage();
|
||||
void clicked();
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////
|
||||
|
@@ -110,6 +110,7 @@ Module {
|
||||
name: "changedSession"
|
||||
Parameter { name: "session"; type: "KSession"; isPointer: true }
|
||||
}
|
||||
Signal { name: "updatedImage" }
|
||||
Method { name: "forcedFocus" }
|
||||
Method {
|
||||
name: "setColorScheme"
|
||||
|
Reference in New Issue
Block a user