diff options
author | Mahmoud Badri <mahmoud.badri@qt.io> | 2018-10-05 15:04:23 +0300 |
---|---|---|
committer | Mahmoud Badri <mahmoud.badri@qt.io> | 2018-10-10 10:29:26 +0000 |
commit | fe04c1301a1a6865fc96ee3a561696015ba3a1ae (patch) | |
tree | 4206bf178c6add95de590a5cd20248ffc58f9c2b /src/Authoring/Studio/Render/StudioRenderer.cpp | |
parent | 9b0276d7aba5d93a2619d0f39698c43cdb13c084 (diff) |
Change many CStrings to QString
- A lot of CString, CFilePath, and Qt3DSFile occureneces and their
relevant code has been removed to save the costy back and forth
conversion between CString and QString.
- Renovated several classes as part of the process (Preferences
classes, recent items, build configuration, probably few more)
- Assorted tweaks here and there
Task-number: QT3DS-1899
Task-number: QT3DS-2455
Change-Id: Ibbf4c3b7ab0b9fe6e19d8aed822fa29d43b99086
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'src/Authoring/Studio/Render/StudioRenderer.cpp')
-rw-r--r-- | src/Authoring/Studio/Render/StudioRenderer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Authoring/Studio/Render/StudioRenderer.cpp b/src/Authoring/Studio/Render/StudioRenderer.cpp index 1f78f2bc..61af4114 100644 --- a/src/Authoring/Studio/Render/StudioRenderer.cpp +++ b/src/Authoring/Studio/Render/StudioRenderer.cpp @@ -783,7 +783,7 @@ struct SRendererImpl : public IStudioRenderer, m_Translation->PickRulers(inPoint); if (pickResult.hasValue()) { Q3DStudio::IDocumentEditor &docEditor( - m_UpdatableEditor.EnsureEditor(L"Create Guide", + m_UpdatableEditor.EnsureEditor(QObject::tr("Create Guide"), __FILE__, __LINE__)); Qt3DSDMGuideHandle newGuide = docEditor.CreateGuide(*pickResult); m_PickResult = SStudioPickValue(newGuide); |