1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-08 22:07:53 +00:00

- Added more country flags to geoip

This commit is contained in:
Christophe Dumez 2009-11-16 15:49:34 +00:00
parent c3281a1e8f
commit 7093c3576b
9 changed files with 14 additions and 0 deletions

BIN
src/Icons/flags/algeria.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 473 B

BIN
src/Icons/flags/belarus.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 373 B

BIN
src/Icons/flags/croatia.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 479 B

BIN
src/Icons/flags/egypt.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 B

BIN
src/Icons/flags/morocco.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 373 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 679 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 361 B

View File

@ -126,6 +126,7 @@ public:
case 'B':
if(iso[1] == 'R') return QIcon(":/Icons/flags/brazil.png");
if(iso[1] == 'G') return QIcon(":/Icons/flags/bulgaria.png");
if(iso[1] == 'Y') return QIcon(":/Icons/flags/belarus.png");
break;
case 'C':
if(iso[1] == 'A') return QIcon(":/Icons/flags/canada.png");
@ -136,9 +137,11 @@ public:
case 'D':
if(iso[1] == 'E') return QIcon(":/Icons/flags/germany.png");
if(iso[1] == 'K') return QIcon(":/Icons/flags/denmark.png");
if(iso[1] == 'Z') return QIcon(":/Icons/flags/algeria.png");
break;
case 'E':
if(iso[1] == 'S') return QIcon(":/Icons/flags/spain.png");
if(iso[1] == 'G') return QIcon(":/Icons/flags/egypt.png");
break;
case 'F':
if(iso[1] == 'I') return QIcon(":/Icons/flags/finland.png");
@ -151,6 +154,7 @@ public:
case 'H':
if(iso[1] == 'U') return QIcon(":/Icons/flags/hungary.png");
if(iso[1] == 'K') return QIcon(":/Icons/flags/china.png");
if(iso[1] == 'R') return QIcon(":/Icons/flags/croatia.png");
break;
case 'I':
if(iso[1] == 'T') return QIcon(":/Icons/flags/italy.png");
@ -170,10 +174,12 @@ public:
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");
if(iso[1] == 'A') return QIcon(":/Icons/flags/morocco.png");
break;
case 'N':
if(iso[1] == 'L') return QIcon(":/Icons/flags/netherlands.png");
if(iso[1] == 'O') return QIcon(":/Icons/flags/norway.png");
if(iso[1] == 'Z') return QIcon(":/Icons/flags/newzealand.png");
break;
case 'P':
if(iso[1] == 'T') return QIcon(":/Icons/flags/portugal.png");
@ -191,6 +197,7 @@ public:
if(iso[1] == 'E') return QIcon(":/Icons/flags/sweden.png");
if(iso[1] == 'K') return QIcon(":/Icons/flags/slovakia.png");
if(iso[1] == 'G') return QIcon(":/Icons/flags/singapore.png");
if(iso[1] == 'I') return QIcon(":/Icons/flags/slovenia.png");
break;
case 'T':
if(iso[1] == 'W') return QIcon(":/Icons/flags/china.png");

View File

@ -44,6 +44,7 @@
<file>Icons/flags/serbia.png</file>
<file>Icons/flags/iceland.png</file>
<file>Icons/flags/china.png</file>
<file>Icons/flags/newzealand.png</file>
<file>Icons/flags/austria.png</file>
<file>Icons/flags/indonesia.png</file>
<file>Icons/flags/united_arab_emirates.png</file>
@ -53,6 +54,7 @@
<file>Icons/flags/australia.png</file>
<file>Icons/flags/netherlands.png</file>
<file>Icons/flags/south_africa.png</file>
<file>Icons/flags/belarus.png</file>
<file>Icons/flags/taiwan.png</file>
<file>Icons/flags/sweden.png</file>
<file>Icons/flags/spain_catalunya.png</file>
@ -62,12 +64,16 @@
<file>Icons/flags/usa.png</file>
<file>Icons/flags/costa_rica.png</file>
<file>Icons/flags/romania.png</file>
<file>Icons/flags/croatia.png</file>
<file>Icons/flags/mexico.png</file>
<file>Icons/flags/denmark.png</file>
<file>Icons/flags/hungary.png</file>
<file>Icons/flags/slovenia.png</file>
<file>Icons/flags/ukraine.png</file>
<file>Icons/flags/turkey.png</file>
<file>Icons/flags/algeria.png</file>
<file>Icons/flags/greece.png</file>
<file>Icons/flags/morocco.png</file>
<file>Icons/flags/argentina.png</file>
<file>Icons/flags/spain.png</file>
<file>Icons/flags/portugal.png</file>
@ -82,6 +88,7 @@
<file>Icons/flags/france.png</file>
<file>Icons/flags/slovakia.png</file>
<file>Icons/flags/pakistan.png</file>
<file>Icons/flags/egypt.png</file>
<file>Icons/flags/italy.png</file>
<file>Icons/flags/south_korea.png</file>
<file>Icons/flags/japan.png</file>