mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 12:23:15 +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
|
@ -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…
Reference in a new issue