Re: [Cvslog] r21048 - in /lyx-devel/trunk/src: BufferView.cpp Converte...

2007-10-19 Thread Andre Poenitz
On Thu, Oct 18, 2007 at 08:15:16PM -0500, Bo Peng wrote: > > > > > > URL: http://www.lyx.org/trac/changeset/21048 > > > Log: > > > isome more FileName shuffling > > > > [..] > > > > > +bool FileName::isWritable() const > > > +{ > > > + QFileInfo const fi(toqstr(name_)); > > > + return fi.is

Re: [Cvslog] r21048 - in /lyx-devel/trunk/src: BufferView.cpp Converte...

2007-10-19 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Thu, Oct 18, 2007 at 11:03:52PM -, [EMAIL PROTECTED] wrote: Author: poenitz Date: Fri Oct 19 01:03:51 2007 New Revision: 21048 URL: http://www.lyx.org/trac/changeset/21048 Log: isome more FileName shuffling [..] +bool FileName::isWritable() const +{ + Q

Re: [Cvslog] r21048 - in /lyx-devel/trunk/src: BufferView.cpp Converte...

2007-10-18 Thread Bo Peng
> > > > URL: http://www.lyx.org/trac/changeset/21048 > > Log: > > isome more FileName shuffling > > [..] > > > +bool FileName::isWritable() const > > +{ > > + QFileInfo const fi(toqstr(name_)); > > + return fi.isReadable(); > > +} > > Ouch... And I just fixed tex2lyx for you. Bo

Re: [Cvslog] r21048 - in /lyx-devel/trunk/src: BufferView.cpp Converte...

2007-10-18 Thread Enrico Forestieri
On Thu, Oct 18, 2007 at 11:03:52PM -, [EMAIL PROTECTED] wrote: > Author: poenitz > Date: Fri Oct 19 01:03:51 2007 > New Revision: 21048 > > URL: http://www.lyx.org/trac/changeset/21048 > Log: > isome more FileName shuffling [..] > +bool FileName::isWritable() const > +{ > + QFileInfo con