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:
		@@ -192,7 +192,7 @@ public:
 | 
			
		||||
    explicit DebuggerToolTipEditor(IEditor *ie = 0);
 | 
			
		||||
    bool isValid() const { return textEditor && baseTextEditor && document; }
 | 
			
		||||
    operator bool() const { return isValid(); }
 | 
			
		||||
    QString fileName() const { return document ? document->fileName() : QString(); }
 | 
			
		||||
    QString fileName() const { return document ? document->filePath() : QString(); }
 | 
			
		||||
 | 
			
		||||
    static DebuggerToolTipEditor currentToolTipEditor();
 | 
			
		||||
 | 
			
		||||
@@ -535,7 +535,7 @@ DebuggerToolTipContext DebuggerToolTipContext::fromEditor(IEditor *ie, int pos)
 | 
			
		||||
    DebuggerToolTipContext rc;
 | 
			
		||||
    if (const IDocument *document = ie->document()) {
 | 
			
		||||
        if (const ITextEditor *te = qobject_cast<const ITextEditor *>(ie)) {
 | 
			
		||||
            rc.fileName = document->fileName();
 | 
			
		||||
            rc.fileName = document->filePath();
 | 
			
		||||
            rc.position = pos;
 | 
			
		||||
            te->convertPosition(pos, &rc.line, &rc.column);
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user