mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Find thesauri files even if \thesaurusdir_path is specified without
a trailing slash. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29603 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a52cac0476
commit
aa1a673077
@ -407,7 +407,9 @@ FileNameList FileName::dirList(string const & ext) const
|
||||
return dirlist;
|
||||
}
|
||||
|
||||
QDir dir = d->fi.absoluteDir();
|
||||
// If the directory is specified without a trailing '/', absoluteDir()
|
||||
// would return the parent dir, so we must use absoluteFilePath() here.
|
||||
QDir dir = d->fi.absoluteFilePath();
|
||||
|
||||
if (!ext.empty()) {
|
||||
QString filter;
|
||||
|
Loading…
Reference in New Issue
Block a user