forked from qt-creator/qt-creator
Rename IFile->IDocument and FileManager->DocumentManager
And adapt the other API respectively. Change-Id: I1e04e555409be09242db6890f9e013396f83aeed Reviewed-by: Bill King <bill.king@nokia.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
#include <utils/qtcassert.h>
|
||||
|
||||
#include <texteditor/itexteditor.h>
|
||||
#include <coreplugin/ifile.h>
|
||||
#include <coreplugin/idocument.h>
|
||||
#include <coreplugin/icore.h>
|
||||
|
||||
#include <QDateTime>
|
||||
@@ -466,7 +466,7 @@ bool PdbEngine::setToolTipExpression(const QPoint &mousePos,
|
||||
// Check mime type and get expression (borrowing some C++ - functions)
|
||||
const QString javaPythonMimeType =
|
||||
QLatin1String("application/javascript");
|
||||
if (!editor->file() || editor->file()->mimeType() != javaPythonMimeType)
|
||||
if (!editor->document() || editor->document()->mimeType() != javaPythonMimeType)
|
||||
return false;
|
||||
|
||||
int line;
|
||||
|
||||
Reference in New Issue
Block a user