瀏覽代碼

Remove pointless `_notification()` function in `EditorPropertyOTVariation`

Michael Alexsander 1 年之前
父節點
當前提交
9f56287d96
共有 2 個文件被更改,包括 0 次插入9 次删除
  1. 0 8
      editor/plugins/font_config_plugin.cpp
  2. 0 1
      editor/plugins/font_config_plugin.h

+ 0 - 8
editor/plugins/font_config_plugin.cpp

@@ -383,14 +383,6 @@ EditorPropertyFontMetaOverride::EditorPropertyFontMetaOverride(bool p_script) {
 /* EditorPropertyOTVariation                                             */
 /*************************************************************************/
 
-void EditorPropertyOTVariation::_notification(int p_what) {
-	switch (p_what) {
-		case NOTIFICATION_ENTER_TREE:
-		case NOTIFICATION_THEME_CHANGED: {
-		} break;
-	}
-}
-
 void EditorPropertyOTVariation::_property_changed(const String &p_property, const Variant &p_value, const String &p_name, bool p_changing) {
 	if (p_property.begins_with("keys")) {
 		Dictionary dict = object->get_dict();

+ 0 - 1
editor/plugins/font_config_plugin.h

@@ -139,7 +139,6 @@ class EditorPropertyOTVariation : public EditorProperty {
 	EditorPaginator *paginator = nullptr;
 
 protected:
-	void _notification(int p_what);
 	static void _bind_methods(){};
 
 	void _edit_pressed();