on xenial help sign in
remove useless operator<
commitcb0e3753f0d53a9fb8664afb3a661273e7f379c6 authorLukáš Tinkl <lukas.tinkl@canonical.com> dateWed 9 Dec 2015, 22:04 (11 years ago) parent4d4e761
1 file changed−7
plugins/Wizard/timezonemodel.h−7
plugins/Wizard/timezonemodel.h−7
@@ -40,13 +40,6 @@ public:
4040 };
4141
4242 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−
5043 QString city;
5144 QString country;
5245 QString timezone;