Update format script again

pull/446/head
Joseph Donofry 4 years ago
parent 2bfd44755e
commit 2a858d84e2
No known key found for this signature in database
GPG Key ID: E8A1D78EF044B0CB
  1. 3
      .ci/format.sh
  2. 6
      resources/qml/PrivacyScreen.qml

@ -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…
Cancel
Save