summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/CMakeSetupDialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/QtDialog/CMakeSetupDialog.cxx')
-rw-r--r--Source/QtDialog/CMakeSetupDialog.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/QtDialog/CMakeSetupDialog.cxx b/Source/QtDialog/CMakeSetupDialog.cxx
index 3c41fce..01fa7bb 100644
--- a/Source/QtDialog/CMakeSetupDialog.cxx
+++ b/Source/QtDialog/CMakeSetupDialog.cxx
@@ -50,7 +50,7 @@ void OpenReferenceManual()
if (!cmSystemTools::GetHTMLDoc().empty()) {
url = QUrl::fromLocalFile(
- QDir(QString::fromLocal8Bit(cmSystemTools::GetHTMLDoc().data()))
+ QDir(QString::fromStdString(cmSystemTools::GetHTMLDoc()))
.filePath("index.html"));
}
@@ -735,7 +735,7 @@ void CMakeSetupDialog::showPresetLoadError(
{
QMessageBox::warning(
this, "Error Reading CMake Presets",
- QString::fromLocal8Bit("Could not read presets from %1: %2")
+ QString("Could not read presets from %1: %2")
.arg(dir, cmCMakePresetsGraph::ResultToString(result)));
}