Browse Source

- Add a few more country flags to geoip database

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
6b0f855752
  1. BIN
      src/Icons/flags/austria.png
  2. BIN
      src/Icons/flags/iceland.png
  3. BIN
      src/Icons/flags/ireland.png
  4. BIN
      src/Icons/flags/israel.png
  5. BIN
      src/Icons/flags/singapore.png
  6. BIN
      src/Icons/flags/united_arab_emirates.png
  7. 6
      src/geoip.h
  8. 6
      src/icons.qrc

BIN
src/Icons/flags/austria.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 B

BIN
src/Icons/flags/iceland.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 439 B

BIN
src/Icons/flags/ireland.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 B

BIN
src/Icons/flags/israel.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 476 B

BIN
src/Icons/flags/singapore.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 372 B

BIN
src/Icons/flags/united_arab_emirates.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 248 B

6
src/geoip.h

@ -120,6 +120,8 @@ public: @@ -120,6 +120,8 @@ public:
case 'A':
if(iso[1] == 'U') return QIcon(":/Icons/flags/australia.png");
if(iso[1] == 'R') return QIcon(":/Icons/flags/argentina.png");
if(iso[1] == 'T') return QIcon(":/Icons/flags/austria.png");
if(iso[1] == 'E') return QIcon(":/Icons/flags/united_arab_emirates.png");
break;
case 'B':
if(iso[1] == 'R') return QIcon(":/Icons/flags/brazil.png");
@ -152,6 +154,9 @@ public: @@ -152,6 +154,9 @@ public:
case 'I':
if(iso[1] == 'T') return QIcon(":/Icons/flags/italy.png");
if(iso[1] == 'N') return QIcon(":/Icons/flags/india.png");
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");
break;
case 'J':
if(iso[1] == 'P') return QIcon(":/Icons/flags/japan.png");
@ -180,6 +185,7 @@ public: @@ -180,6 +185,7 @@ public:
case 'S':
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");
break;
case 'T':
if(iso[1] == 'W') return QIcon(":/Icons/flags/china.png");

6
src/icons.qrc

@ -41,7 +41,10 @@ @@ -41,7 +41,10 @@
<file>Icons/skin/splash.png</file>
<file>Icons/skin/decrease.png</file>
<file>Icons/flags/czech.png</file>
<file>Icons/flags/iceland.png</file>
<file>Icons/flags/china.png</file>
<file>Icons/flags/austria.png</file>
<file>Icons/flags/united_arab_emirates.png</file>
<file>Icons/flags/norway.png</file>
<file>Icons/flags/india.png</file>
<file>Icons/flags/finland.png</file>
@ -51,6 +54,9 @@ @@ -51,6 +54,9 @@
<file>Icons/flags/taiwan.png</file>
<file>Icons/flags/sweden.png</file>
<file>Icons/flags/spain_catalunya.png</file>
<file>Icons/flags/ireland.png</file>
<file>Icons/flags/singapore.png</file>
<file>Icons/flags/israel.png</file>
<file>Icons/flags/usa.png</file>
<file>Icons/flags/romania.png</file>
<file>Icons/flags/denmark.png</file>

Loading…
Cancel
Save