forked from qt-creator/qt-creator
Rename IDocument::fileName --> filePath
That is what it actually is, wrt how Qt API calls it. Change-Id: Ied02055debf6aad75556b0d9d22e8ba2f72be555 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -1055,7 +1055,7 @@ bool GitPlugin::submitEditorAboutToClose()
|
||||
QTC_ASSERT(editorDocument, return true);
|
||||
// Submit editor closing. Make it write out the commit message
|
||||
// and retrieve files
|
||||
const QFileInfo editorFile(editorDocument->fileName());
|
||||
const QFileInfo editorFile(editorDocument->filePath());
|
||||
const QFileInfo changeFile(m_commitMessageFileName);
|
||||
// Paranoia!
|
||||
if (editorFile.absoluteFilePath() != changeFile.absoluteFilePath())
|
||||
|
Reference in New Issue
Block a user