[Interest] When is QDir::Drives useful?

Scott Aron Bloom Scott.Bloom at onshorecs.com
Tue Jul 31 08:10:11 CEST 2012


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: interest-bounces+scott.bloom=onshorecs.com at qt-project.org [mailto:interest-bounces+scott.bloom=onshorecs.com at qt-project.org] On Behalf Of Nikos Chantziaras
Sent: Monday, July 30, 2012 11:00 PM
To: interest at qt-project.org
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 <realnc at gmail.com> 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
Interest at qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


More information about the Interest mailing list