mirror of
https://github.com/ashaduri/gsmartcontrol.git
synced 2026-11-24 14:56:40 +00:00
Improved constness of local variables.
This commit is contained in:
1 parent
29555ed584
commit
3c4a740759
20 files changed
+65
-60
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user