]> git.lyx.org Git - lyx.git/blobdiff - src/support/FileName.cpp
Use *.* to select all files in the file selection dialog on Windows. Using shortcuts...
[lyx.git] / src / support / FileName.cpp
index 298ef969fcce60a56ee5e6563bd3a2d29b0d631f..e847ecc5a2ace72d7073febeb51644fb4e69e23d 100644 (file)
@@ -155,7 +155,6 @@ string FileName::absFilename() const
 void FileName::set(string const & name)
 {
        d->fi.setFile(toqstr(name));
-       BOOST_ASSERT(d->fi.isAbsolute());
 }
 
 
@@ -269,7 +268,7 @@ string FileName::onlyFileName() const
 FileName FileName::onlyPath() const
 {
        FileName path;
-       path.d->fi.setFile(d->fi.filePath());
+       path.d->fi.setFile(d->fi.path());
        return path;
 }