src: broad refactoring to use FilePath.wstr() where easily possible

This commit is contained in:
mlangkabel
2018-02-06 11:35:36 +01:00
parent 9da3ac3d3c
commit f0b817eb0a
34 changed files with 106 additions and 103 deletions
@@ -443,7 +443,7 @@ void QtProjectWizzardContentPreferences::load()
if (m_mavenPath)
{
m_mavenPath->setText(QString::fromStdString(appSettings->getMavenPath().str()));
m_mavenPath->setText(QString::fromStdWString(appSettings->getMavenPath().wstr()));
}
}
@@ -527,7 +527,7 @@ void QtProjectWizzardContentPreferences::javaPathDetectionClicked()
std::vector<FilePath> paths = m_javaPathDetector->getPaths(m_javaPathDetectorBox->currentText().toStdString());
if (!paths.empty())
{
m_javaPath->setText(paths.front().str().c_str());
m_javaPath->setText(QString::fromStdWString(paths.front().wstr()));
}
}
@@ -544,7 +544,7 @@ void QtProjectWizzardContentPreferences::mavenPathDetectionClicked()
std::vector<FilePath> paths = m_mavenPathDetector->getPaths(m_mavenPathDetectorBox->currentText().toStdString());
if (!paths.empty())
{
m_mavenPath->setText(paths.front().str().c_str());
m_mavenPath->setText(QString::fromStdWString(paths.front().wstr()));
}
}