summaryrefslogtreecommitdiff
path: root/DevTools/VisualBuilder/VBPropertiesWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'DevTools/VisualBuilder/VBPropertiesWindow.cpp')
-rw-r--r--DevTools/VisualBuilder/VBPropertiesWindow.cpp2
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>();