Op 31-7-2012 8:30, André Somers schreef:
> Op 31-7-2012 8:20, Nikos Chantziaras schreef:
>> 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.
> Who said that / is the root directory on Windows?
> Try "", or better yet, the result of QDir::rootPath();
>
> André
BTW: note that for instance QFileSystemModel uses the same flags, and 
also can display the windows "root" directory (or My Computer) listing 
the drives.

André

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to