Commit c71e8998 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by David Schulz

Rename editorName -> documentName

It now references a document, not an editor

Change-Id: I2bab07e2a37fcde511987239cb711ef0ff20473d
Reviewed-by: default avatarDavid Schulz <david.schulz@digia.com>
parent 05d2c28e
......@@ -1877,9 +1877,9 @@ void EditorManager::updateWindowTitle()
windowTitle.prepend(d->m_titleAddition);
}
if (document) {
QString editorName = document->displayName();
if (!editorName.isEmpty())
windowTitle.prepend(editorName + vcsTopic + dashSep);
const QString documentName = document->displayName();
if (!documentName.isEmpty())
windowTitle.prepend(documentName + vcsTopic + dashSep);
QString filePath = QFileInfo(document->filePath()).absoluteFilePath();
if (!filePath.isEmpty())
ICore::mainWindow()->setWindowFilePath(filePath);
......
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