Update format script again

This commit is contained in:
Joseph Donofry 2021-02-02 11:50:57 -05:00
parent 2bfd44755e
commit 2a858d84e2
No known key found for this signature in database
GPG Key ID: E8A1D78EF044B0CB
2 changed files with 5 additions and 4 deletions

View File

@ -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")

View File

@ -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));
}
}