diff options
Diffstat (limited to 'editor/rename_dialog.h')
-rw-r--r-- | editor/rename_dialog.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/editor/rename_dialog.h b/editor/rename_dialog.h index 1cd0a2cb0f..dfdb1bcd76 100644 --- a/editor/rename_dialog.h +++ b/editor/rename_dialog.h @@ -44,11 +44,10 @@ */ class RenameDialog : public ConfirmationDialog { - GDCLASS(RenameDialog, ConfirmationDialog); virtual void ok_pressed() { rename(); }; - void _cancel_pressed(){}; + void _cancel_pressed() {} void _features_toggled(bool pressed); void _insert_text(String text); void _update_substitute(); @@ -110,8 +109,8 @@ public: void reset(); void rename(); - RenameDialog(SceneTreeEditor *p_scene_tree_editor, UndoRedo *p_undo_redo = NULL); - ~RenameDialog(){}; + RenameDialog(SceneTreeEditor *p_scene_tree_editor, UndoRedo *p_undo_redo = nullptr); + ~RenameDialog() {} }; #endif |