mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user