Compilation fix

This commit is contained in:
bsongis
2015-05-12 06:42:49 +02:00
parent f134619f7d
commit fc42b19a2f
+1 -1
View File
@@ -365,7 +365,7 @@ bool writeEeprom(const QString &filename, ProgressWidget *progress)
bool isRemovableMedia(const QString & vol) bool isRemovableMedia(const QString & vol)
{ {
char szDosDeviceName[MAX_PATH]; char szDosDeviceName[MAX_PATH];
QString volume = vol QString volume = vol;
UINT driveType = GetDriveType(volume.replace("/", "\\").toLatin1()); UINT driveType = GetDriveType(volume.replace("/", "\\").toLatin1());
if (driveType != DRIVE_REMOVABLE) if (driveType != DRIVE_REMOVABLE)
return false; return false;