Den 29-08-2014 12:46, André Somers skrev: > 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.
The problem with flags like this that if they are there, then a return value with the absence of the "optical" flag set means that it's not an optical disk. Flags are bools, they don't mean yes, no or unknown. The flag shows the presence of something or the absence of something. Bo Thorsen, Director, Viking Software. -- Viking Software Qt and C++ developers for hire http://www.vikingsoft.eu _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development