mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Use 'var' instead of explicit type
(cherry picked from commit 12374f7f0038e5b25548f5ab3f71122410832393) Closes #3749
This commit is contained in:
parent
14816306a4
commit
cc27107668
113 changed files with 274 additions and 274 deletions
|
@ -34,7 +34,7 @@ namespace Lidarr.Api.V1.TrackFiles
|
|||
return 0;
|
||||
}
|
||||
|
||||
int qualityWeight = Quality.DefaultQualityDefinitions.Single(q => q.Quality == quality.Quality).Weight;
|
||||
var qualityWeight = Quality.DefaultQualityDefinitions.Single(q => q.Quality == quality.Quality).Weight;
|
||||
qualityWeight += quality.Revision.Real * 10;
|
||||
qualityWeight += quality.Revision.Version;
|
||||
return qualityWeight;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue