diff options
Diffstat (limited to 'src/gui/widgets/createwidget.h')
-rw-r--r-- | src/gui/widgets/createwidget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/createwidget.h b/src/gui/widgets/createwidget.h index 3a2102676..61f85e4c0 100644 --- a/src/gui/widgets/createwidget.h +++ b/src/gui/widgets/createwidget.h @@ -26,6 +26,6 @@ var->postInit() #define CREATEWIDGET2(type, ...) \ - static_cast<type>(Widget::callPostInit(new type(__VA_ARGS__))) + static_cast<type*>(Widget::callPostInit(new type(__VA_ARGS__))) #endif // GUI_WIDGETS_CREATEWIDGET_H |