mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-23 08:06:11 +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:
@@ -95,7 +95,7 @@ VBPropertiesWindow::VBPropertiesWindow()
|
||||
if (!m_table_view->model())
|
||||
return nullptr;
|
||||
auto type_index = m_table_view->model()->index(index.row(), VBWidgetPropertyModel::Column::Type);
|
||||
auto type = m_table_view->model()->data(type_index, GModel::Role::Custom).to_int();
|
||||
auto type = m_table_view->model()->data(type_index, GModel::Role::Custom).to_i32();
|
||||
switch ((GVariant::Type)type) {
|
||||
case GVariant::Type::Bool:
|
||||
return make<BoolModelEditingDelegate>();
|
||||
|
||||
Reference in New Issue
Block a user