clippy-fix

This commit is contained in:
Chris Cochrun 2024-06-25 23:04:30 -05:00
parent 3f2f57f8e7
commit cbf5fe3d9d
14 changed files with 166 additions and 184 deletions

View file

@ -30,7 +30,7 @@ use configparser::ini::Ini;
use cxx_qt::CxxQtType;
use cxx_qt_lib::{QString, QUrl};
use dirs;
use std::{path::PathBuf, pin::Pin};
use std::{pin::Pin};
// In order for settings to save to the ini file,
// I'll need to create my own setting functions I think.
@ -68,7 +68,7 @@ impl qobject::Settings {
conf.push("lumina");
conf.push("lumina.conf");
match self.as_mut().rust_mut().config.load(conf) {
Ok(map) => {
Ok(_map) => {
// println!("{:?}", self.rust().config);
let sf = self
.as_ref()
@ -100,7 +100,7 @@ impl qobject::Settings {
"lastSaveFile",
Some(file.to_string()),
) {
Some(s) => {
Some(_s) => {
println!(
"set-save-file: {:?}",
self.as_mut()