on xenial help sign in
remove useless operator<
cb0e375Lukáš Tinkl
plugins/Wizard/timezonemodel.h−7
@@ -40,13 +40,6 @@ public:
40 };
40 };
41
41
42 struct TzLocation {
42 struct TzLocation {
43− bool operator<(const TzLocation &other) const
44− {
45− QString pattern("%1, %2");
46− return pattern.arg(city).arg(country) <
47− pattern.arg(other.city).arg(other.country);
48− }
49−
50 QString city;
43 QString city;
51 QString country;
44 QString country;
52 QString timezone;
45 QString timezone;