mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Style: Replaces uses of 0/NULL by nullptr (C++11)
Using clang-tidy's `modernize-use-nullptr`. https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nullptr.html
This commit is contained in:
@@ -188,7 +188,7 @@ void ProjectExportDialog::_edit_preset(int p_index) {
|
||||
name->set_editable(false);
|
||||
export_path->hide();
|
||||
runnable->set_disabled(true);
|
||||
parameters->edit(NULL);
|
||||
parameters->edit(nullptr);
|
||||
presets->unselect_all();
|
||||
duplicate_preset->set_disabled(true);
|
||||
delete_preset->set_disabled(true);
|
||||
@@ -1066,7 +1066,7 @@ ProjectExportDialog::ProjectExportDialog() {
|
||||
delete_preset->set_disabled(true);
|
||||
script_key_error->hide();
|
||||
sections->hide();
|
||||
parameters->edit(NULL);
|
||||
parameters->edit(nullptr);
|
||||
|
||||
// Deletion dialog.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user