Remove 'less than' comparison method
Change-Id: Ief52da4f9176216ba45d4dc9df5bb341987cb585 Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
This commit is contained in:
parent
150a6c691f
commit
f095dc7af1
@ -126,13 +126,6 @@ struct Q_GUI_EXPORT QtFontStyle
|
||||
{
|
||||
return !operator==(other);
|
||||
}
|
||||
|
||||
bool operator<(const Key &o) const noexcept
|
||||
{
|
||||
int x = (style << 12) + (weight << 14) + stretch;
|
||||
int y = (o.style << 12) + (o.weight << 14) + o.stretch;
|
||||
return (x < y);
|
||||
}
|
||||
};
|
||||
|
||||
QtFontStyle(const Key &k)
|
||||
|
Loading…
Reference in New Issue
Block a user