Commit 434e3227 authored by cerf's avatar cerf Committed by Tobias Hunger
Browse files

vcsbase: concise and readable VCS editor title

The user string returned by VCSBaseClient::vcsEditorTitle() now
begins with the basename of the VCS binary

Merge-request: 270
Reviewed-by: default avatarTobias Hunger <>
parent 901ea8fa
......@@ -439,7 +439,9 @@ void VCSBaseClient::settingsChanged()
QString VCSBaseClient::vcsEditorTitle(const QString &vcsCmd, const QString &sourceId) const
return d->m_clientSettings.binary() + QLatin1Char(' ') + vcsCmd + QLatin1Char(' ') + sourceId;
return QFileInfo(d->m_clientSettings.binary()).baseName() +
QLatin1Char(' ') + vcsCmd + QLatin1Char(' ') +
VCSBase::VCSBaseEditorWidget *VCSBaseClient::createVCSEditor(const QString &kind, QString title,
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