mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cleanup: less than operators shall not use equal
See also commit c032006d91
. Compare functions passed
to sort functions need to compare for less-than and not
less-or-equal.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
parent
f74308bed4
commit
75142b0a63
2 changed files with 2 additions and 2 deletions
|
@ -90,7 +90,7 @@ void PreferencesDialog::buttonClicked(QAbstractButton* btn)
|
|||
|
||||
bool abstractpreferenceswidget_lessthan(AbstractPreferencesWidget *p1, AbstractPreferencesWidget *p2)
|
||||
{
|
||||
return p1->positionHeight() <= p2->positionHeight();
|
||||
return p1->positionHeight() < p2->positionHeight();
|
||||
}
|
||||
|
||||
void PreferencesDialog::addPreferencePage(AbstractPreferencesWidget *page)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue