summaryrefslogtreecommitdiffstats
path: root/editor/editor_quick_open.h
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2022-11-15 15:12:42 +0100
committerkobewi <kobewi4e@gmail.com>2022-11-15 15:12:42 +0100
commit747a96621193d29f4560378b870fe4cf51e9a12d (patch)
treea4bd33699ffe6c611fae514db7deeb0af9de0fa0 /editor/editor_quick_open.h
parent91fcc3986eca5331b4cc44a67adcc2f29a49eb66 (diff)
downloadredot-engine-747a96621193d29f4560378b870fe4cf51e9a12d.tar.gz
Change EditorQuickOpen base_type to String
Diffstat (limited to 'editor/editor_quick_open.h')
-rw-r--r--editor/editor_quick_open.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/editor_quick_open.h b/editor/editor_quick_open.h
index 83cbbd7cac..3b7e8136ef 100644
--- a/editor/editor_quick_open.h
+++ b/editor/editor_quick_open.h
@@ -41,7 +41,7 @@ class EditorQuickOpen : public ConfirmationDialog {
LineEdit *search_box = nullptr;
Tree *search_options = nullptr;
- StringName base_type;
+ String base_type;
bool allow_multi_select = false;
bool _load_resources = false; // Prohibitively slow for now.
@@ -77,12 +77,12 @@ protected:
static void _bind_methods();
public:
- StringName get_base_type() const;
+ String get_base_type() const;
String get_selected() const;
Vector<String> get_selected_files() const;
- void popup_dialog(const StringName &p_base, bool p_enable_multi = false, bool p_dontclear = false);
+ void popup_dialog(const String &p_base, bool p_enable_multi = false, bool p_dontclear = false);
EditorQuickOpen();
};