Disable automatic conversions from 8-bit strings
This commit is contained in:
@@ -226,7 +226,7 @@ bool MtpDevice::DeleteFromStorage(const DeleteJob &job) {
|
||||
|
||||
// Extract the ID from the song's URL
|
||||
QString filename = job.metadata_.url().path();
|
||||
filename.remove('/');
|
||||
filename.remove(QLatin1Char('/'));
|
||||
|
||||
bool ok = false;
|
||||
uint32_t id = filename.toUInt(&ok);
|
||||
|
||||
Reference in New Issue
Block a user