mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-22 20:44:15 +00:00
FIX: Redeclared Variable
This commit is contained in:
parent
c7efd0dd05
commit
ccd50262c6
@ -84,7 +84,7 @@ QString fsutils::fileExtension(const QString &filename)
|
||||
QString holder;
|
||||
int point_index = filename.lastIndexOf(".");
|
||||
if (point_index >= 0) {
|
||||
QString holder = filename.mid(point_index + 1);
|
||||
holder = filename.mid(point_index + 1);
|
||||
if (holder == "!qB") {
|
||||
holder = filename.mid(0, point_index);
|
||||
point_index = holder.lastIndexOf(".");
|
||||
|
Loading…
x
Reference in New Issue
Block a user