Mention limitation of QDir::drives() on Windows

Added comment to clarify returned drives from QDir::drives()

Task-number: QTBUG-106896
Pick-to: 5.15 6.2 6.4
Change-Id: I7cf9642b11f9000a5e6382a2b29070ab2cd6442e
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
Timothée Keller 2022-10-18 12:05:25 +02:00
parent 2e582a0af9
commit df89c93d91
1 changed files with 2 additions and 1 deletions

View File

@ -1909,7 +1909,8 @@ bool QDir::isEmpty(Filters filters) const
Returns a list of the root directories on this system.
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. "/").
\sa root(), rootPath()