Skip to content
Snippets Groups Projects
Verified Commit d59910a8 authored by Joe Donofry's avatar Joe Donofry
Browse files

Remove redundant import and fix visible warning

parent bfeb766a
No related branches found
No related tags found
1 merge request!6Chat Privacy screen
......@@ -29,10 +29,12 @@ Item {
interval: screenTimeout * 1000
running: true
onTriggered: {
timelineRoot.grabToImage(function(result) {
screenSaver.state = "Visible";
imageSource = result.url;
}, Qt.size(width, height));
if (MainWindow.visible) {
timelineRoot.grabToImage(function(result) {
screenSaver.state = "Visible";
imageSource = result.url;
}, Qt.size(width, height));
}
}
}
......
import "."
import "./delegates"
import "./device-verification"
import "./emoji"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment