Remove redundant import and fix visible warning
This commit is contained in:
parent
bfeb766a91
commit
d59910a8f2
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
import "."
|
||||
import "./delegates"
|
||||
import "./device-verification"
|
||||
import "./emoji"
|
||||
|
Loading…
Reference in New Issue
Block a user