mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +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;
|
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()) {
|
if (!ext.empty()) {
|
||||||
QString filter;
|
QString filter;
|
||||||
|
Loading…
Reference in New Issue
Block a user