Andre Poenitz wrote:
We should have a Qt function, then we don't have to think about it. ;)
File a suggestion and send me a link.
4.5 is in feature freeze, though, so this won't hit the shelves before
next summer, then it takes a year to be picked up by the distributions
and two more years to reach LyX. So that would be a 2012 improvement ;-}
bool
QFileInfo::operator==(const QFileInfo &fileinfo) const
{
Q_D(const QFileInfo);
// ### Qt 5: understand long and short file names on Windows
// ### (GetFullPathName()).
if(fileinfo.d_func()->data == d->data)
Seems it is already on "Qt Software"'s TODO list.
Peter