void FileName::set(string const & name)
{
d->fi.setFile(toqstr(name));
- BOOST_ASSERT(d->fi.isAbsolute());
}
FileName FileName::onlyPath() const
{
FileName path;
- path.d->fi.setFile(d->fi.filePath());
+ path.d->fi.setFile(d->fi.path());
return path;
}