forked from qt-creator/qt-creator
use Core::Id for IEditorFactory::id
Change-Id: Iefd67a0461d9016b8ba0f3371df7ec6d42e188c5 Reviewed-on: http://codereview.qt-project.org/4321 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -122,7 +122,7 @@ QStringList ExternalQtEditor::mimeTypes() const
|
||||
return m_mimeTypes;
|
||||
}
|
||||
|
||||
QString ExternalQtEditor::id() const
|
||||
Core::Id ExternalQtEditor::id() const
|
||||
{
|
||||
return m_id;
|
||||
}
|
||||
@@ -156,7 +156,7 @@ bool ExternalQtEditor::getEditorLaunchData(const QString &fileName,
|
||||
data->binary = Utils::SynchronousProcess::locateBinary(fallbackBinary);
|
||||
}
|
||||
if (data->binary.isEmpty()) {
|
||||
*errorMessage = msgAppNotFound(id());
|
||||
*errorMessage = msgAppNotFound(id().toString());
|
||||
return false;
|
||||
}
|
||||
// Setup binary + arguments, use Mac Open if appropriate
|
||||
|
||||
Reference in New Issue
Block a user