Browse Source

- Fixed China recognition in geoip

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
561033d7eb
  1. 2
      src/geoip.h

2
src/geoip.h

@ -130,7 +130,7 @@ public:
case 'C': case 'C':
if(iso[1] == 'A') return QIcon(":/Icons/flags/canada.png"); if(iso[1] == 'A') return QIcon(":/Icons/flags/canada.png");
if(iso[1] == 'Z') return QIcon(":/Icons/flags/czech.png"); if(iso[1] == 'Z') return QIcon(":/Icons/flags/czech.png");
if(iso[1] == 'C') return QIcon(":/Icons/flags/china.png"); if(iso[1] == 'N') return QIcon(":/Icons/flags/china.png");
if(iso[1] == 'R') return QIcon(":/Icons/flags/costa_rica.png"); if(iso[1] == 'R') return QIcon(":/Icons/flags/costa_rica.png");
break; break;
case 'D': case 'D':

Loading…
Cancel
Save