Improved constness of local variables.

This commit is contained in:
Alexander Shaduri committed 2024-03-11 15:25:14 +04:00
1 parent 29555ed584
commit 3c4a740759
20 files changed
+65 -60

No files matched your search

+1 -1
View File
@@ -133,7 +133,7 @@ void CommandExecutorGui::set_running_dialog_abort_mode(bool aborting)
} else if (!aborting) {
std::string msg = hz::string_replace_copy(get_running_msg(), "{command}",
const std::string msg = hz::string_replace_copy(get_running_msg(), "{command}",
hz::fs_path_to_string(hz::fs_path_from_string(this->get_command_name()).filename()));
running_dialog_->set_message("\n " + msg + " ");
// running_dialog_->set_response_sensitive(Gtk::RESPONSE_CANCEL, true);