mirror of
https://github.com/RGBCube/serenity
synced 2025-05-19 02:35:06 +00:00
LibGUI: Add 64-bit signed integer support to GVariant
What was previously the "Int" type is now "Int32" and "Int64".
This commit is contained in:
parent
137a45dff2
commit
6906edee9a
8 changed files with 120 additions and 64 deletions
|
@ -56,5 +56,5 @@ pid_t ProcessTableView::selected_pid() const
|
|||
{
|
||||
if (selection().is_empty())
|
||||
return -1;
|
||||
return model()->data(model()->index(selection().first().row(), ProcessModel::Column::PID), GModel::Role::Sort).as_int();
|
||||
return model()->data(model()->index(selection().first().row(), ProcessModel::Column::PID), GModel::Role::Sort).as_i32();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue