[Development] QStorageInfo

Иван Комиссаров abbapoh at gmail.com
Fri Aug 29 13:01:07 CEST 2014


Иван Комиссаров

29 авг. 2014 г., в 14:46, André Somers <andre at familiesomers.nl> написал(а):

Thiago Macieira schreef op 29-8-2014 06:32:
>> Could be, but I want to be really clear that it should only be local, 
>> remote and unknown. I don't want other types like "removable 
>> magnetic", "removable optical", "removable solid state", "virtual 
>> regular filesystem", "virtual special", etc. 
> Just wondering, but what exactly is the problem with providing more 
> details if such details are available? A combination of flags "local", 
> "removable" and "optical" would be quite informative.
> 
> André

The problem is you can't rely on that information. For example, "optical" is totally useless on Linux (we can't get that info). So, your program should consider that and /*probable*/ not use "optical" flag at all.
Still, local/remote/removable flags seem quite reasonable to me


More information about the Development mailing list