diff options
author | Mahmoud Badri <mahmoud.badri@qt.io> | 2018-12-07 16:19:13 +0200 |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@qt.io> | 2018-12-10 08:32:45 +0000 |
commit | cf54ebd6f3591c09a7d3c1e5fdde9d8be163f02d (patch) | |
tree | ffc532db256018f7f09b141c330e15dca30b685b /src/Authoring/Client/Code/Core/Doc/DocumentEditor.cpp | |
parent | 69c3a54687eed3bca968aaba4efd87334df7304f (diff) |
Also removed a previous hot fix (QT3DS-2768) and some cleanups in the
undo/redo system.
Task-number: QT3DS-2827
Change-Id: Id1bb8e89c4121dd3cf447bf29c1a0d02d034e247
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'src/Authoring/Client/Code/Core/Doc/DocumentEditor.cpp')
-rw-r--r-- | src/Authoring/Client/Code/Core/Doc/DocumentEditor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Authoring/Client/Code/Core/Doc/DocumentEditor.cpp b/src/Authoring/Client/Code/Core/Doc/DocumentEditor.cpp index 3171f50c..d7cdfb73 100644 --- a/src/Authoring/Client/Code/Core/Doc/DocumentEditor.cpp +++ b/src/Authoring/Client/Code/Core/Doc/DocumentEditor.cpp @@ -5703,5 +5703,5 @@ void CUpdateableDocumentEditor::RollbackEditor() std::shared_ptr<IInternalDocumentEditor> IInternalDocumentEditor::CreateEditor(CDoc &doc) { - return std::shared_ptr<IInternalDocumentEditor>(new CDocEditor(doc)); + return std::make_shared<CDocEditor>(doc); } |