mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 07:42:02 +00:00
previous rev: better fix from Richard.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25998 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3457b4f808
commit
24969f2a87
@ -816,10 +816,11 @@ bool operator==(FileName const & lhs, FileName const & rhs)
|
||||
// treated as if they referred to different files.
|
||||
// This is supposed to be fixed for Qt5.
|
||||
|
||||
if (lhs.empty() && rhs.empty())
|
||||
return true;
|
||||
if (lhs.empty())
|
||||
return rhs.empty();
|
||||
|
||||
if (lhs.empty() || rhs.empty())
|
||||
if (rhs.empty())
|
||||
// Avoid unnecessary checks.
|
||||
return false;
|
||||
|
||||
lhs.d->refresh();
|
||||
|
Loading…
x
Reference in New Issue
Block a user