summaryrefslogtreecommitdiffstats
path: root/src/Authoring/Studio/Palettes/Inspector/InspectorControlView.cpp
diff options
context:
space:
mode:
authorMahmoud Badri <mahmoud.badri@qt.io>2019-05-22 17:16:30 +0300
committerMahmoud Badri <mahmoud.badri@qt.io>2019-05-23 12:35:54 +0300
commit9456f4b6cefc47a4162e1f77eb5b030f5f0a1d16 (patch)
tree365c5f51bad339ddc7c1ffa8807332876d412f81 /src/Authoring/Studio/Palettes/Inspector/InspectorControlView.cpp
parentb49058947d3ba45afbb254c707c1d3f8de6373cc (diff)
Some CString to QString conversions
plus some tweaks. Change-Id: I714c9fea4afcfd3f15380c2e74c11fba515ae107 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Antti Määttä <antti.maatta@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'src/Authoring/Studio/Palettes/Inspector/InspectorControlView.cpp')
-rw-r--r--src/Authoring/Studio/Palettes/Inspector/InspectorControlView.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Authoring/Studio/Palettes/Inspector/InspectorControlView.cpp b/src/Authoring/Studio/Palettes/Inspector/InspectorControlView.cpp
index 38f65da8..e4e0379f 100644
--- a/src/Authoring/Studio/Palettes/Inspector/InspectorControlView.cpp
+++ b/src/Authoring/Studio/Palettes/Inspector/InspectorControlView.cpp
@@ -601,7 +601,7 @@ void InspectorControlView::setPropertyValueFromFilename(long instance, int handl
if (name != ChooserModelBase::noneString()) {
// Relativize the path to the presentation
const auto doc = g_StudioApp.GetCore()->GetDoc();
- const QDir documentDir(doc->GetDocumentDirectory().toQString());
+ const QDir documentDir(doc->GetDocumentDirectory());
QString relativeName = documentDir.relativeFilePath(name);
value = relativeName;
}