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
@@ -711,7 +711,7 @@ void QtMainWindow::updateRecentProjectMenu()
{
FilePath project = recentProjects[i];
m_recentProjectAction[i]->setVisible(true);
m_recentProjectAction[i]->setText(QString::fromStdWString(project.wFileName()));
m_recentProjectAction[i]->setText(QString::fromStdWString(project.fileName()));
m_recentProjectAction[i]->setData(QString::fromStdWString(project.wstr()));
}
else