some little bits of debug info
This commit is contained in:
parent
b2eeb04855
commit
08cc744a31
2 changed files with 4 additions and 4 deletions
|
@ -536,9 +536,10 @@ mod service_item_model {
|
|||
#[qinvokable]
|
||||
pub fn save(mut self: Pin<&mut Self>, file: QUrl) -> bool {
|
||||
println!("rust-save-file: {file}");
|
||||
let lfr = fs::File::create(
|
||||
&file.to_local_file().unwrap_or_default().to_string(),
|
||||
);
|
||||
let path =
|
||||
file.to_local_file().unwrap_or_default().to_string();
|
||||
println!("path: {:?}", path);
|
||||
let lfr = fs::File::create(&path);
|
||||
if let Ok(lf) = &lfr {
|
||||
println!("archive: {:?}", lf);
|
||||
let encoder = Encoder::new(lf, 3).unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue