|
|
@ -121,7 +121,7 @@ std::pair<Files::PathContainer, std::vector<std::string> > CS::Editor::readConfi
|
|
|
|
//iterate the data directories and add them to the file dialog for loading
|
|
|
|
//iterate the data directories and add them to the file dialog for loading
|
|
|
|
for (Files::PathContainer::const_iterator iter = dataDirs.begin(); iter != dataDirs.end(); ++iter)
|
|
|
|
for (Files::PathContainer::const_iterator iter = dataDirs.begin(); iter != dataDirs.end(); ++iter)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
QString path = QString::fromStdString(iter->string());
|
|
|
|
QString path = QString::fromUtf8 (iter->string().c_str());
|
|
|
|
mFileDialog.addFiles(path);
|
|
|
|
mFileDialog.addFiles(path);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|