mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-27 12:46:06 +00:00
LibGUI: Use a separate data role for the table model sorting order.
This allows data to be displayed nicely while sorting happens based on some underlying raw data. :^)
This commit is contained in:
parent
3681a402ba
commit
46caa2663b
Notes:
sideshowbarker
2024-07-19 15:06:48 +09:00
Author: https://github.com/awesomekling
Commit: 46caa2663b
11 changed files with 43 additions and 15 deletions
|
@ -27,7 +27,7 @@ bool String::operator<(const String& other) const
|
|||
if (!other.m_impl)
|
||||
return false;
|
||||
|
||||
return strcmp(characters(), other.characters());
|
||||
return strcmp(characters(), other.characters()) < 0;
|
||||
}
|
||||
|
||||
String String::empty()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue