Fix composite icon not appearing on some configs

parent 3f2e884a
......@@ -75,7 +75,8 @@ breeze-light/lt_kdenlive-align-none.svgz
breeze-light/lt_kdenlive-align-right.svgz
breeze-light/lt_kdenlive-align-top.svgz
breeze-light/lt_kdenlive-align-vert.svgz
breeze-light/lt_kdenlive-composite.svgz
breeze-light/lt_composite-track-on.svg
breeze-light/lt_composite-track-off.svg
breeze-light/lt_kdenlive-custom-effect.svgz
breeze-light/lt_kdenlive-deleffect.svgz
breeze-light/lt_kdenlive-down.svgz
......@@ -86,7 +87,6 @@ breeze-light/lt_kdenlive-insert-rect.svgz
breeze-light/lt_kdenlive-insert-unicode.svgz
breeze-light/lt_kdenlive-lock.svgz
breeze-light/lt_kdenlive-menu.svgz
breeze-light/lt_kdenlive-no-composite.svgz
breeze-light/lt_kdenlive-normal-edit.svgz
breeze-light/lt_kdenlive-object-height.svgz
breeze-light/lt_kdenlive-object-width.svgz
......@@ -247,7 +247,8 @@ breeze-dark/dk_kdenlive-align-none.svgz
breeze-dark/dk_kdenlive-align-right.svgz
breeze-dark/dk_kdenlive-align-top.svgz
breeze-dark/dk_kdenlive-align-vert.svgz
breeze-dark/dk_kdenlive-composite.svgz
breeze-dark/dk_composite-track-on.svg
breeze-dark/dk_composite-track-off.svg
breeze-dark/dk_kdenlive-custom-effect.svgz
breeze-dark/dk_kdenlive-deleffect.svgz
breeze-dark/dk_kdenlive-down.svgz
......@@ -258,7 +259,6 @@ breeze-dark/dk_kdenlive-insert-rect.svgz
breeze-dark/dk_kdenlive-insert-unicode.svgz
breeze-dark/dk_kdenlive-lock.svgz
breeze-dark/dk_kdenlive-menu.svgz
breeze-dark/dk_kdenlive-no-composite.svgz
breeze-dark/dk_kdenlive-normal-edit.svgz
breeze-dark/dk_kdenlive-object-height.svgz
breeze-dark/dk_kdenlive-object-width.svgz
......
<svg xmlns="http://www.w3.org/2000/svg" height="22" width="22">
<path fill="#f2f2f2" fill-opacity=".502" stroke="#f2f2f2" stroke-linecap="square" d="M3.5 3.5h15v15h-15z"/>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" height="22" width="22">
<path fill="none" stroke="#f2f2f2" stroke-linecap="square" d="M3.5 3.5h15v15h-15z"/>
<path opacity=".5" fill="#f2f2f2" d="M5 5h4v4H5zm4 4h4v4H9zm-4 4h4v4H5zm8 0h4v4h-4zm0-8h4v4h-4z"/>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" height="22" width="22">
<defs id="defs3051">
<style type="text/css" id="current-color-scheme">
.ColorScheme-Text{color:#4d4d4d}
</style>
</defs>
<path fill="currentColor" fill-opacity=".498" stroke="currentColor" stroke-linecap="square" d="M3.5 3.5h15v15h-15z" class="ColorScheme-Text"/>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" height="22" width="22">
<defs id="defs3051">
<style type="text/css" id="current-color-scheme">
.ColorScheme-Text{color:#4d4d4d}
</style>
</defs>
<path fill="none" stroke="currentColor" stroke-linecap="square" d="M3.5 3.5h15v15h-15z" class="ColorScheme-Text"/>
<path opacity=".5" fill="currentColor" d="M5 5h4v4H5zm4 4h4v4H9zm-4 4h4v4H5zm8 0h4v4h-4zm0-8h4v4h-4z" class="ColorScheme-Text"/>
</svg>
......@@ -4,7 +4,7 @@
.ColorScheme-Text{color:#4d4d4d}
</style>
</defs>
<path style="color:currentColor;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:currentColor;solid- opacity:1;fill:currentColor;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate;filter-blend-mode:normal;filter-gaussianBlur-deviation:0" d="M3 11H19V15H3z" class="ColorScheme-Text"/>
<path fill="#1d99f3" d="M8 8h6v5H8z"/>
<path style="color:currentColor;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:currentColor;solid-opacity:1;fill:currentColor;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate;filter-blend-mode:normal;filter-gaussianBlur-deviation:0" d="M3 11H19V15H3z" class="ColorScheme-Text"/>
<path fill="#1d99f3" d="M8 8h6v5H8z" class="ColorScheme-Text"/>
<path style="color:currentColor;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:currentColor;solid-opacity:1;fill:#1d99f3;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" d="m 8,4 3.000001,3 3,-3 L 8,4 Z" class="ColorScheme-Text"/>
</svg>
[Icon Theme]
Name=kbreeze
DisplayDepth=32
Inherits=breeze
FollowsColorScheme=true
Directories=actions/22
KDE-Extensions=.svg
[actions/22]
Size=22
Context=Actions
Type=Scalable
MinSize=22
MaxSize=256
\ No newline at end of file
......@@ -6,13 +6,15 @@
<file alias="timeline-overwrite.svg">../data/pics/breeze-light/lt_timeline-overwrite.svg</file>
<file alias="timeline-use-zone-on.svg">../data/pics/breeze-light/lt_timeline-use-zone-on.svg</file>
<file alias="timeline-use-zone-off.svg">../data/pics/breeze-light/lt_timeline-use-zone-off.svg</file>
<file alias="favorite.svg">../data/pics/breeze-light/lt_favorite.svg</file>
<file alias="zone-in.svg">../data/pics/breeze-light/lt_zone-in.svg</file>
<file alias="zone-out.svg">../data/pics/breeze-light/lt_zone-out.svg</file>
<file alias="preview-add-zone.svg">../data/pics/breeze-light/lt_preview-add-zone.svg</file>
<file alias="preview-remove-zone.svg">../data/pics/breeze-light/lt_preview-remove-zone.svg</file>
<file alias="preview-render-on.svg">../data/pics/breeze-light/lt_preview-render-on.svg</file>
<file alias="preview-render-off.svg">../data/pics/breeze-light/lt_preview-render-off.svg</file>
<file alias="view-split-effect.svg">../data/pics/breeze-light/lt_view-split-effect.svg</file>
</qresource>
<file alias="favorite.svg">../data/pics/breeze-light/lt_favorite.svg</file>
<file alias="zone-in.svg">../data/pics/breeze-light/lt_zone-in.svg</file>
<file alias="zone-out.svg">../data/pics/breeze-light/lt_zone-out.svg</file>
<file alias="preview-add-zone.svg">../data/pics/breeze-light/lt_preview-add-zone.svg</file>
<file alias="preview-remove-zone.svg">../data/pics/breeze-light/lt_preview-remove-zone.svg</file>
<file alias="preview-render-on.svg">../data/pics/breeze-light/lt_preview-render-on.svg</file>
<file alias="preview-render-off.svg">../data/pics/breeze-light/lt_preview-render-off.svg</file>
<file alias="view-split-effect.svg">../data/pics/breeze-light/lt_view-split-effect.svg</file>
<file alias="composite-track-on.svg">../data/pics/breeze-light/lt_composite-track-on.svg</file>
<file alias="composite-track-off.svg">../data/pics/breeze-light/lt_composite-track-off.svg</file>
</qresource>
</RCC>
......@@ -88,8 +88,8 @@ HeaderTrack::HeaderTrack(TrackInfo info, const QList <QAction *> &actions, Track
m_tb->addAction(m_switchVideo);
m_switchComposite = new KDualAction(i18n("Opaque"), i18n("Composite"), this);
m_switchComposite->setActiveIcon(KoIconUtils::themedIcon(QStringLiteral("kdenlive-composite")));
m_switchComposite->setInactiveIcon(KoIconUtils::themedIcon(QStringLiteral("kdenlive-no-composite")));
m_switchComposite->setActiveIcon(KoIconUtils::themedIcon(QStringLiteral("composite-track-on")));
m_switchComposite->setInactiveIcon(KoIconUtils::themedIcon(QStringLiteral("composite-track-off")));
m_switchComposite->setActive(info.composite);
connect(m_switchComposite, &KDualAction::activeChangedByUser, this, &HeaderTrack::switchComposite);
m_tb->addAction(m_switchComposite);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment