mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Improve detection of filename extension of audio/video files
This commit is contained in:
parent
529dd6e3a8
commit
e1f9083c81
4 changed files with 21 additions and 8 deletions
|
@ -77,7 +77,7 @@ namespace Utils::Misc
|
|||
int friendlyUnitPrecision(SizeUnit unit);
|
||||
qint64 sizeInBytes(qreal size, SizeUnit unit);
|
||||
|
||||
bool isPreviewable(const QString &extension);
|
||||
bool isPreviewable(const QString &filename);
|
||||
|
||||
// Take a number of seconds and return a user-friendly
|
||||
// time duration like "1d 2h 10m".
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue