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:
Jan Mulder 2017-12-29 19:29:23 +01:00 committed by Dirk Hohndel
parent f74308bed4
commit 75142b0a63
2 changed files with 2 additions and 2 deletions

View file

@ -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)