src: switched to use only wstring for FilePath::filename and FilePath::extension

This commit is contained in:
mlangkabel
2018-02-09 17:04:17 +01:00
parent 70d619a173
commit e31624a4b7
30 changed files with 68 additions and 80 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ void QtRecentProjectButton::setProjectPath(const FilePath& projectFilePath)
{
m_projectFilePath = projectFilePath;
m_projectExists = projectFilePath.exists();
this->setText(QString::fromStdWString(m_projectFilePath.withoutExtension().wFileName()));
this->setText(QString::fromStdWString(m_projectFilePath.withoutExtension().fileName()));
if (m_projectExists)
{
this->setToolTip(m_projectFilePath.str().c_str());