- Added a few more country flags to Geoip
BIN
src/Icons/flags/belgium.png
Normal file
After Width: | Height: | Size: 173 B |
BIN
src/Icons/flags/bosnia.png
Normal file
After Width: | Height: | Size: 583 B |
BIN
src/Icons/flags/georgia.png
Normal file
After Width: | Height: | Size: 680 B |
Before Width: | Height: | Size: 173 B After Width: | Height: | Size: 290 B |
BIN
src/Icons/flags/luxembourg.png
Normal file
After Width: | Height: | Size: 185 B |
BIN
src/Icons/flags/suisse.png
Normal file
After Width: | Height: | Size: 293 B |
@ -58,11 +58,9 @@ public:
|
||||
|
||||
//TrackerInfos() {}
|
||||
TrackerInfos(const TrackerInfos &b) {
|
||||
qDebug("TrackerInfos copy contructor called");
|
||||
name_or_url = b.name_or_url;
|
||||
Q_ASSERT(!name_or_url.isEmpty());
|
||||
last_message = b.last_message;
|
||||
qDebug("Copied message: %s", last_message.toLocal8Bit().data());
|
||||
num_peers = b.num_peers;
|
||||
}
|
||||
TrackerInfos(QString name_or_url): name_or_url(name_or_url), last_message(""), num_peers(0) {
|
||||
|
@ -127,12 +127,15 @@ public:
|
||||
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");
|
||||
if(iso[1] == 'E') return QIcon(":/Icons/flags/belgium.png");
|
||||
if(iso[1] == 'A') return QIcon(":/Icons/flags/bosnia.png");
|
||||
break;
|
||||
case 'C':
|
||||
if(iso[1] == 'A') return QIcon(":/Icons/flags/canada.png");
|
||||
if(iso[1] == 'Z') return QIcon(":/Icons/flags/czech.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] == 'H') return QIcon(":/Icons/flags/suisse.png");
|
||||
break;
|
||||
case 'D':
|
||||
if(iso[1] == 'E') return QIcon(":/Icons/flags/germany.png");
|
||||
@ -150,6 +153,7 @@ public:
|
||||
case 'G':
|
||||
if(iso[1] == 'B') return QIcon(":/Icons/flags/united_kingdom.png");
|
||||
if(iso[1] == 'R') return QIcon(":/Icons/flags/greece.png");
|
||||
if(iso[1] == 'E') return QIcon(":/Icons/flags/georgia.png");
|
||||
break;
|
||||
case 'H':
|
||||
if(iso[1] == 'U') return QIcon(":/Icons/flags/hungary.png");
|
||||
@ -170,6 +174,9 @@ public:
|
||||
case 'K':
|
||||
if(iso[1] == 'R') return QIcon(":/Icons/flags/south_korea.png");
|
||||
break;
|
||||
case 'L':
|
||||
if(iso[1] == 'U') return QIcon(":/Icons/flags/luxembourg.png");
|
||||
break;
|
||||
case 'M':
|
||||
if(iso[1] == 'Y') return QIcon(":/Icons/flags/malaysia.png");
|
||||
if(iso[1] == 'X') return QIcon(":/Icons/flags/mexico.png");
|
||||
|
@ -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/luxembourg.png</file>
|
||||
<file>Icons/flags/newzealand.png</file>
|
||||
<file>Icons/flags/austria.png</file>
|
||||
<file>Icons/flags/indonesia.png</file>
|
||||
@ -55,15 +56,18 @@
|
||||
<file>Icons/flags/netherlands.png</file>
|
||||
<file>Icons/flags/south_africa.png</file>
|
||||
<file>Icons/flags/belarus.png</file>
|
||||
<file>Icons/flags/georgia.png</file>
|
||||
<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/belgium.png</file>
|
||||
<file>Icons/flags/usa.png</file>
|
||||
<file>Icons/flags/costa_rica.png</file>
|
||||
<file>Icons/flags/romania.png</file>
|
||||
<file>Icons/flags/suisse.png</file>
|
||||
<file>Icons/flags/croatia.png</file>
|
||||
<file>Icons/flags/mexico.png</file>
|
||||
<file>Icons/flags/denmark.png</file>
|
||||
@ -91,6 +95,7 @@
|
||||
<file>Icons/flags/egypt.png</file>
|
||||
<file>Icons/flags/italy.png</file>
|
||||
<file>Icons/flags/south_korea.png</file>
|
||||
<file>Icons/flags/bosnia.png</file>
|
||||
<file>Icons/flags/japan.png</file>
|
||||
<file>Icons/flags/malaysia.png</file>
|
||||
<file>Icons/flags/philippines.png</file>
|
||||
|