mirror of
https://github.com/ashaduri/gsmartcontrol.git
synced 2026-11-24 14:56:40 +00:00
Moved to C++23, making the code compatible with it (u8string / u8path incompatibilities).
This commit is contained in:
1 parent
e650fa4d8b
commit
985700c79d
18 files changed
+69
-25
No files matched your search
@@ -18,7 +18,7 @@ Copyright:
|
||||
#include "hz/string_algo.h"
|
||||
#include "hz/fs_ns.h"
|
||||
#include "command_executor_gui.h"
|
||||
|
||||
#include "hz/fs.h"
|
||||
|
||||
|
||||
|
||||
@@ -134,7 +134,7 @@ void CommandExecutorGui::set_running_dialog_abort_mode(bool aborting)
|
||||
|
||||
} else if (!aborting) {
|
||||
std::string msg = hz::string_replace_copy(get_running_msg(), "{command}",
|
||||
hz::fs::u8path(this->get_command_name()).filename().u8string());
|
||||
hz::fs_path_to_string(hz::fs::u8path(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