Merge pull request #1491 from JulianGro/progressDialog-warning

Fix "QML AnimatedImage: Error Reading Animated Image File" warning.
This commit is contained in:
ksuprynowicz 2025-05-29 22:43:30 +02:00 committed by GitHub
commit f849beace2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="full" width="360" height="120" viewBox="0 0 360.00 120.00" enable-background="new 0 0 360.00 120.00" xml:space="preserve">
<path fill="#343434" fill-opacity="1" stroke-linejoin="round" d="M 10,7.62939e-006L 350,7.62939e-006C 355.523,7.62939e-006 360,4.47717 360,10L 360,110C 360,115.523 355.523,120 350,120L 10,120C 4.47716,120 7.66041e-006,115.523 7.66041e-006,110L 7.66041e-006,10C 7.66041e-006,4.47717 4.47716,7.62939e-006 10,7.62939e-006 Z "/>
</svg>

View File

@ -8,7 +8,8 @@
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
var toolIconUrl = Script.getExternalPath(Script.ExternalPaths.HF_Public, "images/tools/");
// This URL will be used not relative to this script, but relative to the QML that handles the Overlay, so we need an absolute URL.
var toolIconUrl = Script.resolvePath("../assets/images/tools/");
progressDialog = (function () {
var that = {},