Commit ef0809c9 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Add proper icon for subtitle feature

parent 4135769a
......@@ -86,6 +86,7 @@ ecm_install_icons(ICONS
sc-actions-kdenlive-zone-start.svgz
sc-actions-kdenlive-zoom-large.svgz
sc-actions-kdenlive-zoom-small.svgz
sc-actions-kdenlive-add-subtitle.svg
sc-mimetypes-application-x-kdenlive.svgz
sc-mimetypes-application-x-kdenlivetitle.svgz
sc-mimetypes-video-mlt-playlist.svgz
......
<svg xmlns="http://www.w3.org/2000/svg" id="svg17" viewBox="0 0 22 22" height="22" width="22"><defs id="defs3051"><style id="current-color-scheme">.ColorScheme-Text{color:#232629}</style></defs><g id="g15" class="ColorScheme-Text" fill="currentColor"><g id="g13" class="ColorScheme-Text"><path id="path5490-6-3-0-1-7" class="ColorScheme-Text" d="M2.99 5.018v11.964h16.02V5.018zm1.336 1h13.348v9.99H4.326z" color="currentColor" stroke-width=".324"/><g id="g11" class="ColorScheme-Text"><g id="g9" class="ColorScheme-Text" color="currentColor"><path id="path5" class="ColorScheme-Text" d="M5.506 9.906v1.558h10.988V9.906zm0 3.115v1.56H11v-1.56z" stroke-width=".687"/><path id="path7" class="ColorScheme-Text" d="M12.997 13.02v1.56h3.497v-1.56z" stroke-width=".548"/></g></g></g></g></svg>
\ No newline at end of file
......@@ -1134,7 +1134,7 @@ void MainWindow::setupActions()
m_timeFormatButton->setToolButtonPopupMode(QToolButton::InstantPopup);
addAction(QStringLiteral("timeline_timecode"), m_timeFormatButton);
m_buttonSubtitleEditTool = new QAction(QIcon::fromTheme(QStringLiteral("input-keyboard")), i18n("Edit Subtitle tool"), this);
m_buttonSubtitleEditTool = new QAction(QIcon::fromTheme(QStringLiteral("kdenlive-add-subtitle")), i18n("Edit Subtitle tool"), this);
m_buttonSubtitleEditTool->setCheckable(true);
m_buttonSubtitleEditTool->setChecked(false);
addAction(QStringLiteral("subtitle_tool"), m_buttonSubtitleEditTool);
......
......@@ -38,7 +38,7 @@ Rectangle {
border.width: 1
border.color: root.frameColor
function pulseLockButton() {
onIsLockedChanged: {
flashLock.restart();
}
......@@ -465,14 +465,14 @@ Rectangle {
ScaleAnimator {
target: lockButton
from: 1
to: 2
duration: 500
to: 1.6
duration: 200
}
ScaleAnimator {
target: lockButton
from: 2
from: 1.6
to: 1
duration: 500
duration: 200
}
}
}
......
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