mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 12:59:56 -07:00
FIX: Redeclared Variable
This commit is contained in:
parent
c7efd0dd05
commit
ccd50262c6
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ QString fsutils::fileExtension(const QString &filename)
|
||||||
QString holder;
|
QString holder;
|
||||||
int point_index = filename.lastIndexOf(".");
|
int point_index = filename.lastIndexOf(".");
|
||||||
if (point_index >= 0) {
|
if (point_index >= 0) {
|
||||||
QString holder = filename.mid(point_index + 1);
|
holder = filename.mid(point_index + 1);
|
||||||
if (holder == "!qB") {
|
if (holder == "!qB") {
|
||||||
holder = filename.mid(0, point_index);
|
holder = filename.mid(0, point_index);
|
||||||
point_index = holder.lastIndexOf(".");
|
point_index = holder.lastIndexOf(".");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue