mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:28:11 +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
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