Update format script again
This commit is contained in:
parent
2bfd44755e
commit
2a858d84e2
@ -14,7 +14,8 @@ do
|
|||||||
clang-format -i "$f"
|
clang-format -i "$f"
|
||||||
done;
|
done;
|
||||||
|
|
||||||
QMLFORMAT_PATH=$(command -v qmlformat)
|
QMLFORMAT_PATH=$(command -v qmlformat || true)
|
||||||
|
|
||||||
if [ -n "$QMLFORMAT_PATH" ]; then
|
if [ -n "$QMLFORMAT_PATH" ]; then
|
||||||
QML_FILES=$(find resources -type f -iname "*.qml")
|
QML_FILES=$(find resources -type f -iname "*.qml")
|
||||||
|
|
||||||
|
@ -33,9 +33,9 @@ Item {
|
|||||||
onTriggered: {
|
onTriggered: {
|
||||||
if (MainWindow.visible)
|
if (MainWindow.visible)
|
||||||
timelineRoot.grabToImage(function(result) {
|
timelineRoot.grabToImage(function(result) {
|
||||||
screenSaver.state = "Visible";
|
screenSaver.state = "Visible";
|
||||||
imageSource = result.url;
|
imageSource = result.url;
|
||||||
}, Qt.size(width, height));
|
}, Qt.size(width, height));
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user