mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:17:36 +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);
|
return !(*this == other);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const Model* model() const { return m_model; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
ModelIndex(const Model& model, int row, int column, void* internal_data)
|
ModelIndex(const Model& model, int row, int column, void* internal_data)
|
||||||
: m_model(&model)
|
: m_model(&model)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue