Nope.  I just tested it under Windows XP and 7.  The contents of "/" are 
the contents of "C:/".  Which makes sense, since Windows completely 
lacks the concept of a single root directory.  So I guess the question 
remains open.


On 31/07/12 09:10, Scott Aron Bloom wrote:
> That has not been my experience... However, it has been a while since I have 
> used it.  IIRC it would return the list of drives available ...
>
> Maybe some code would help us figure out what is going on.
>
> Scott
> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf 
> Of Nikos Chantziaras
> Sent: Monday, July 30, 2012 11:00 PM
> To: [email protected]
> Subject: Re: [Interest] When is QDir::Drives useful?
>
> The root directory on Windows contains the root directory of the currently 
> active drive.  If the current drive is C:, then the contents consist of stuff 
> like "Windows", "Program Files", "Users", etc.  No drives in there.
>
>
> On 31/07/12 08:26, André Somers wrote:
>> How about the root directory on windows, for instance?
>>
>> André
>>
>> Op 31 jul. 2012 om 07:21 heeft Nikos Chantziaras <[email protected]> het 
>> volgende geschreven:
>>
>>> According to:
>>>
>>>     http://qt-project.org/doc/qt-4.8/qdir.html#Filter-enum
>>>
>>> "QDir::Drives" lists drives.  Which directory would you have to open
>>> though that could possibly contain disk entries?


_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to