mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 15:07:22 -06:00
BUGFIX: Stop enforcing UTF-8 and use system locale instead
This commit is contained in:
@@ -76,7 +76,7 @@ class previewSelect: public QDialog, private Ui::preview {
|
||||
return;
|
||||
}
|
||||
}
|
||||
qDebug("Cannot find file: %s", path.toUtf8().data());
|
||||
qDebug("Cannot find file: %s", path.toLocal8Bit().data());
|
||||
QMessageBox::critical(0, tr("Preview impossible"), tr("Sorry, we can't preview this file"));
|
||||
close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user