Mention limitation of QDir::drives() on Windows
Added comment to clarify returned drives from QDir::drives() Task-number: QTBUG-106896 Change-Id: I7cf9642b11f9000a5e6382a2b29070ab2cd6442e Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit df89c93d916873c02c0995c76f325e7147858dae) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
4bf9f4bc6e
commit
896eb6bcd0
@ -1898,7 +1898,8 @@ bool QDir::isEmpty(Filters filters) const
|
|||||||
Returns a list of the root directories on this system.
|
Returns a list of the root directories on this system.
|
||||||
|
|
||||||
On Windows this returns a list of QFileInfo objects containing "C:/",
|
On Windows this returns a list of QFileInfo objects containing "C:/",
|
||||||
"D:/", etc. On other operating systems, it returns a list containing
|
"D:/", etc. This does not return drives with ejectable media that are empty.
|
||||||
|
On other operating systems, it returns a list containing
|
||||||
just one root directory (i.e. "/").
|
just one root directory (i.e. "/").
|
||||||
|
|
||||||
\sa root(), rootPath()
|
\sa root(), rootPath()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user