[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: error during compilation parts/doctreeview/doctreeviewwidget.cpp
From:       Amilcar do Carmo Lucas <amilcar () ida ! ing ! tu-bs ! de>
Date:       2003-11-23 21:44:50
[Download RAW message or body]

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




 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic