Merge pull request #8862 from Chocobo1/cleanup

Code cleanups
This commit is contained in:
Mike Tzou
2018-05-09 14:33:49 +08:00
committed by GitHub
6 changed files with 28 additions and 31 deletions

View File

@@ -762,7 +762,6 @@ void TorrentsController::renameAction()
throw APIError(APIErrorType::NotFound);
name.replace(QRegularExpression("\r?\n|\r"), " ");
qDebug() << "Renaming" << torrent->name() << "to" << name;
torrent->setName(name);
}