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

Hide .kdenlive extension in title bar

parent 8057d371
Pipeline #241513 failed with stage
in 8 minutes and 39 seconds
......@@ -899,7 +899,7 @@ const QString KdenliveDoc::description() const
if (!m_url.isValid()) {
return i18n("Untitled") + QStringLiteral("[*] / ") + pCore->getCurrentProfile()->description();
}
return m_url.fileName() + QStringLiteral(" [*]/ ") + pCore->getCurrentProfile()->description();
return QFileInfo(m_url.toLocalFile()).completeBaseName() + QStringLiteral(" [*]/ ") + pCore->getCurrentProfile()->description();
}
QString KdenliveDoc::searchFileRecursively(const QDir &dir, const QString &matchSize, const QString &matchHash) const
......
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