error during compilation parts/doctreeview/doctreeviewwidget.cpp

Amilcar do Carmo Lucas amilcar at ida.ing.tu-bs.de
Sun Nov 23 22:46:04 UTC 2003


Waldo Bastian wrote:

>On Sun November 23 2003 18:23, Adriaan de Groot wrote:
>  
>
>>On Sunday 23 November 2003 17:02, Damir R. Islamov wrote:
>>    
>>
>>> doctreeviewwidget.cpp: In member function `virtual void
>>> DocTreeDocbaseFolder::setOpen(bool)':
>>>      
>>>
>>Where does this live? It doesn't seem to be in any of the "standard" CVS
>>modules like libs, base, pim, or koffice.
>>
>>    
>>
>>> To my mind the better solution is
>>> -- if ( (f = fopen(d.filePath(*it), "r")) != 0)
>>>++  QString temp=d.filePath(*it);
>>>++  if ( (f = fopen(temp.ascii(), "r")) != 0)
>>>      
>>>
>>It's not, since not every filesystem is US-ASCII. You might go
>>for .local8Bit() and hope it works
>>    
>>
>
>QFile::encodeName(...) is the preferred and correct solution.
>
>Cheers,
>Waldo
>  
>
This lives in Kdevelop/parts/doctreeview
And this should be posted in KDevelop's devel mailing list instead.
Posting it there.

Alexander this is in your code, can you review it?

-- 
Amilcar Lucas








More information about the KDevelop-devel mailing list