Skip to content

Commit 85b8e5c

Browse files
committed
gui: format code
Signed-off-by: Peter Gadfort <[email protected]>
1 parent d714667 commit 85b8e5c

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

src/gui/src/inspector.cpp

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -100,15 +100,18 @@ void SelectedItemModel::updateObject()
100100
if (editor_found != editors.end()) {
101101
auto& editor = (*editor_found).second;
102102
makeItemEditor(prop.name,
103-
value_item,
104-
object_,
105-
EditorItemDelegate::getEditorType(prop.value),
106-
editor);
103+
value_item,
104+
object_,
105+
EditorItemDelegate::getEditorType(prop.value),
106+
editor);
107107
}
108108
}
109109
} catch (const std::runtime_error& error) {
110-
QMessageBox::critical(qobject_cast<QWidget*>(parent()), error.what(), "Failed to populate properties.");
111-
appendRow({makeItem(QString::fromStdString("error")), makeItem(QString(error.what()))});
110+
QMessageBox::critical(qobject_cast<QWidget*>(parent()),
111+
error.what(),
112+
"Failed to populate properties.");
113+
appendRow({makeItem(QString::fromStdString("error")),
114+
makeItem(QString(error.what()))});
112115
}
113116

114117
endResetModel();

0 commit comments

Comments
 (0)