mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
The QFileInfo::refresh() bug is fixed in Qt 4.5.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30038 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
dbfb73e740
commit
8d21593429
@ -111,11 +111,9 @@ struct FileName::Private
|
||||
///
|
||||
inline void refresh()
|
||||
{
|
||||
// There seems to be a bug in Qt >= 4.2.0, at least, that causes problems with
|
||||
// There seems to be a bug in Qt >= 4.2.0 and < 4.5.0, that causes problems with
|
||||
// QFileInfo::refresh() on *nix. So we recreate the object in that case.
|
||||
// FIXME: When Trolltech fixes the bug, we will have to replace 0x999999 below
|
||||
// with the actual working minimum version.
|
||||
#if defined(_WIN32) || (QT_VERSION >= 0x999999)
|
||||
#if defined(_WIN32) || (QT_VERSION >= 0x040500)
|
||||
fi.refresh();
|
||||
#else
|
||||
fi = QFileInfo(fi.absoluteFilePath());
|
||||
|
@ -61,6 +61,7 @@ What's new
|
||||
and a python script (lyxpak.py) for creating archives of a lyx file and
|
||||
all its ancillary files (graphics and so on) to development/tools.
|
||||
|
||||
- Take advantage of some bugfixes in Qt 4.5 for internal file handling.
|
||||
|
||||
|
||||
** Bug fixes:
|
||||
|
Loading…
x
Reference in New Issue
Block a user