Commit 5c83df74 authored by Julius Künzel's avatar Julius Künzel
Browse files

Revert "Render presets: set default"

This reverts commit 5fce538d.
parent 5fce538d
......@@ -574,10 +574,10 @@ void RenderWidget::slotEditPreset()
delete dialog;
}
void RenderWidget::focusItem(const QString &preset)
void RenderWidget::focusItem(const QString &profile)
{
QItemSelectionModel *selection = m_view.profileTree->selectionModel();
QModelIndex index = m_treeModel->findPreset(preset.isEmpty() ? QStringLiteral("MP4-H264/AAC") : preset);
QModelIndex index = m_treeModel->findPreset(profile);
if (!index.isValid() && RenderPresetRepository::get()->presetExists(KdenliveSettings::renderProfile())) {
index = m_treeModel->findPreset(KdenliveSettings::renderProfile());
}
......
......@@ -118,7 +118,7 @@ public:
void saveConfig();
void loadConfig();
void setGuides(std::weak_ptr<MarkerListModel> guidesModel);
void focusItem(const QString &preset = QString());
void focusItem(const QString &profile = QString());
void setRenderProgress(const QString &dest, int progress = 0, int frame = 0);
void setRenderStatus(const QString &dest, int status, const QString &error);
void setRenderProfile(const QMap<QString, QString> &props);
......
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