Add "FAT" as supported filesystem on Windows.

In some cases Windows reports the string "FAT" (without any type number).
Accept that as well.

Change-Id: Ia278ccc574913106cb5ca6751af70125f769c59c
This commit is contained in:
Dominik Riebeling 2013-09-18 23:14:18 +02:00
parent b943c59f35
commit 5c31063a3f

View file

@ -573,7 +573,7 @@ QStringList Utils::mountpoints(enum MountpointsFilter type)
QStringList supported;
QStringList tempList;
#if defined(Q_OS_WIN32)
supported << "FAT32" << "FAT16" << "FAT12" << "HFS";
supported << "FAT32" << "FAT16" << "FAT12" << "FAT" << "HFS";
QFileInfoList list = QDir::drives();
for(int i=0; i<list.size();i++)
{