mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 01:29:17 +00:00
LibGUI: Add ModelIndex::model()
Let's expose this so we can use it in some assertions later.
This commit is contained in:
parent
df62e54d1e
commit
21bb269919
Notes:
sideshowbarker
2024-07-19 03:40:01 +09:00
Author: https://github.com/awesomekling
Commit: 21bb269919
1 changed files with 2 additions and 0 deletions
|
@ -55,6 +55,8 @@ public:
|
|||
return !(*this == other);
|
||||
}
|
||||
|
||||
const Model* model() const { return m_model; }
|
||||
|
||||
private:
|
||||
ModelIndex(const Model& model, int row, int column, void* internal_data)
|
||||
: m_model(&model)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue