Commit 39953946 authored by Julius Künzel's avatar Julius Künzel 💬
Browse files

["Export Guide" action] Minor i18n and icon fixes, remove unused code

parent 11e4959b
Pipeline #177387 passed with stage
in 7 minutes and 11 seconds
......@@ -1817,7 +1817,7 @@ void MainWindow::setupActions()
addAction(QStringLiteral("add_guide"), i18n("Add/Remove Guide"), this, SLOT(slotAddGuide()), QIcon::fromTheme(QStringLiteral("list-add")), Qt::Key_G);
addAction(QStringLiteral("delete_guide"), i18n("Delete Guide"), this, SLOT(slotDeleteGuide()), QIcon::fromTheme(QStringLiteral("edit-delete")));
addAction(QStringLiteral("edit_guide"), i18n("Edit Guide…"), this, SLOT(slotEditGuide()), QIcon::fromTheme(QStringLiteral("document-properties")));
addAction(QStringLiteral("export_guides"), i18n("Export Guides"), this, SLOT(slotExportGuides()), QIcon::fromTheme(QStringLiteral("document-properties")));
addAction(QStringLiteral("export_guides"), i18n("Export Guides"), this, SLOT(slotExportGuides()), QIcon::fromTheme(QStringLiteral("document-export")));
QAction *lockGuides = addAction(QStringLiteral("lock_guides"), i18n("Guides Locked"), this, SLOT(slotLockGuides(bool)), QIcon::fromTheme(QStringLiteral("kdenlive-lock")));
lockGuides->setCheckable(true);
......@@ -2369,13 +2369,6 @@ void MainWindow::connectDocument()
getMainTimeline()->focusTimeline();
}
void MainWindow::slotGuidesUpdated()
{
if (m_renderWidget) {
m_renderWidget->setGuides(pCore->currentDoc()->getGuideModel());
}
}
void MainWindow::slotEditKeys()
{
KShortcutsDialog dialog(KShortcutsEditor::AllActions, KShortcutsEditor::LetterShortcutsAllowed, this);
......
......@@ -438,7 +438,6 @@ private slots:
void slotLockGuides(bool lock);
void slotDeleteGuide();
void slotDeleteAllGuides();
void slotGuidesUpdated();
void slotCopy();
void slotPaste();
......
Supports Markdown
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