mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-10 14:57:52 +00:00
- Added more country flags to geoip
This commit is contained in:
parent
6b0f855752
commit
f588882a96
BIN
src/Icons/flags/costa_rica.png
Normal file
BIN
src/Icons/flags/costa_rica.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 203 B |
BIN
src/Icons/flags/indonesia.png
Normal file
BIN
src/Icons/flags/indonesia.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 173 B |
BIN
src/Icons/flags/mexico.png
Normal file
BIN
src/Icons/flags/mexico.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 402 B |
BIN
src/Icons/flags/serbia.png
Normal file
BIN
src/Icons/flags/serbia.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 185 B |
@ -131,6 +131,7 @@ public:
|
||||
if(iso[1] == 'A') return QIcon(":/Icons/flags/canada.png");
|
||||
if(iso[1] == 'Z') return QIcon(":/Icons/flags/czech.png");
|
||||
if(iso[1] == 'C') return QIcon(":/Icons/flags/china.png");
|
||||
if(iso[1] == 'R') return QIcon(":/Icons/flags/costa_rica.png");
|
||||
break;
|
||||
case 'D':
|
||||
if(iso[1] == 'E') return QIcon(":/Icons/flags/germany.png");
|
||||
@ -157,6 +158,7 @@ public:
|
||||
if(iso[1] == 'L') return QIcon(":/Icons/flags/israel.png");
|
||||
if(iso[1] == 'E') return QIcon(":/Icons/flags/ireland.png");
|
||||
if(iso[1] == 'S') return QIcon(":/Icons/flags/iceland.png");
|
||||
if(iso[1] == 'D') return QIcon(":/Icons/flags/indonesia.png");
|
||||
break;
|
||||
case 'J':
|
||||
if(iso[1] == 'P') return QIcon(":/Icons/flags/japan.png");
|
||||
@ -166,6 +168,8 @@ public:
|
||||
break;
|
||||
case 'M':
|
||||
if(iso[1] == 'Y') return QIcon(":/Icons/flags/malaysia.png");
|
||||
if(iso[1] == 'X') return QIcon(":/Icons/flags/mexico.png");
|
||||
if(iso[1] == 'E') return QIcon(":/Icons/flags/serbia.png");
|
||||
break;
|
||||
case 'N':
|
||||
if(iso[1] == 'L') return QIcon(":/Icons/flags/netherlands.png");
|
||||
@ -181,6 +185,7 @@ public:
|
||||
if(iso[1] == 'U') return QIcon(":/Icons/flags/russia.png");
|
||||
if(iso[1] == 'O') return QIcon(":/Icons/flags/romania.png");
|
||||
if(iso[1] == 'E') return QIcon(":/Icons/flags/france.png");
|
||||
if(iso[1] == 'S') return QIcon(":/Icons/flags/serbia.png");
|
||||
break;
|
||||
case 'S':
|
||||
if(iso[1] == 'E') return QIcon(":/Icons/flags/sweden.png");
|
||||
|
@ -41,9 +41,11 @@
|
||||
<file>Icons/skin/splash.png</file>
|
||||
<file>Icons/skin/decrease.png</file>
|
||||
<file>Icons/flags/czech.png</file>
|
||||
<file>Icons/flags/serbia.png</file>
|
||||
<file>Icons/flags/iceland.png</file>
|
||||
<file>Icons/flags/china.png</file>
|
||||
<file>Icons/flags/austria.png</file>
|
||||
<file>Icons/flags/indonesia.png</file>
|
||||
<file>Icons/flags/united_arab_emirates.png</file>
|
||||
<file>Icons/flags/norway.png</file>
|
||||
<file>Icons/flags/india.png</file>
|
||||
@ -58,7 +60,9 @@
|
||||
<file>Icons/flags/singapore.png</file>
|
||||
<file>Icons/flags/israel.png</file>
|
||||
<file>Icons/flags/usa.png</file>
|
||||
<file>Icons/flags/costa_rica.png</file>
|
||||
<file>Icons/flags/romania.png</file>
|
||||
<file>Icons/flags/mexico.png</file>
|
||||
<file>Icons/flags/denmark.png</file>
|
||||
<file>Icons/flags/hungary.png</file>
|
||||
<file>Icons/flags/ukraine.png</file>
|
||||
|
Loading…
Reference in New Issue
Block a user