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