mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:28:10 +00:00
LibGUI: Include internal_data() in GModelIndex LogStream output
This commit is contained in:
parent
e3d975e943
commit
ce9b9c129d
1 changed files with 2 additions and 0 deletions
|
@ -46,6 +46,8 @@ private:
|
|||
|
||||
inline const LogStream& operator<<(const LogStream& stream, const GModelIndex& value)
|
||||
{
|
||||
if (value.internal_data())
|
||||
return stream << String::format("GModelIndex(%d,%d,%p)", value.row(), value.column(), value.internal_data());
|
||||
return stream << String::format("GModelIndex(%d,%d)", value.row(), value.column());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue