forked from qt-creator/qt-creator
DiffEditor: Code cosmetics in diffeditordocument.cpp
Change-Id: I598559babec268c7f519071ace7da95eae4847ee Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -14,19 +14,12 @@
|
|||||||
#include <coreplugin/editormanager/editormanager.h>
|
#include <coreplugin/editormanager/editormanager.h>
|
||||||
#include <coreplugin/icore.h>
|
#include <coreplugin/icore.h>
|
||||||
|
|
||||||
#include <QCoreApplication>
|
|
||||||
#include <QFile>
|
|
||||||
#include <QDir>
|
|
||||||
#include <QMenu>
|
|
||||||
#include <QTextCodec>
|
|
||||||
|
|
||||||
using namespace Core;
|
using namespace Core;
|
||||||
using namespace Utils;
|
using namespace Utils;
|
||||||
|
|
||||||
namespace DiffEditor::Internal {
|
namespace DiffEditor::Internal {
|
||||||
|
|
||||||
DiffEditorDocument::DiffEditorDocument() :
|
DiffEditorDocument::DiffEditorDocument()
|
||||||
Core::BaseTextDocument()
|
|
||||||
{
|
{
|
||||||
setId(Constants::DIFF_EDITOR_ID);
|
setId(Constants::DIFF_EDITOR_ID);
|
||||||
setMimeType(Constants::DIFF_EDITOR_MIMETYPE);
|
setMimeType(Constants::DIFF_EDITOR_MIMETYPE);
|
||||||
|
Reference in New Issue
Block a user