diff options
author | Andreas Kling <kling@serenityos.org> | 2020-01-27 10:55:10 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-01-27 10:55:10 +0100 |
commit | 6906edee9a89619eefbea614983fa0c61d20c8a7 (patch) | |
tree | 747858f7635aacd5724e8735a42707f9edff2964 /DevTools/VisualBuilder/VBPropertiesWindow.cpp | |
parent | 137a45dff2a6c60dbca34ee6b1e27ff476fe9b40 (diff) | |
download | serenity-6906edee9a89619eefbea614983fa0c61d20c8a7.zip |
LibGUI: Add 64-bit signed integer support to GVariant
What was previously the "Int" type is now "Int32" and "Int64".
Diffstat (limited to 'DevTools/VisualBuilder/VBPropertiesWindow.cpp')
-rw-r--r-- | DevTools/VisualBuilder/VBPropertiesWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/DevTools/VisualBuilder/VBPropertiesWindow.cpp b/DevTools/VisualBuilder/VBPropertiesWindow.cpp index ae557a8c6c..6965e31b38 100644 --- a/DevTools/VisualBuilder/VBPropertiesWindow.cpp +++ b/DevTools/VisualBuilder/VBPropertiesWindow.cpp @@ -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>(); |