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:
@@ -773,7 +773,7 @@ static inline QString msgParseFilesFailed()
|
||||
static inline QString currentDocumentPath()
|
||||
{
|
||||
if (Core::IEditor *editor = Core::EditorManager::currentEditor())
|
||||
return QFileInfo(editor->document()->fileName()).path();
|
||||
return QFileInfo(editor->document()->filePath()).path();
|
||||
return QString();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user