fixing unused pieces
This commit is contained in:
parent
7d3fbd35ab
commit
be482eb512
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
mod settings {
|
mod settings {
|
||||||
|
|
||||||
use configparser::ini::Ini;
|
use configparser::ini::Ini;
|
||||||
use std::error::Error;
|
// use std::error::Error;
|
||||||
|
|
||||||
unsafe extern "C++" {
|
unsafe extern "C++" {
|
||||||
include!("cxx-qt-lib/qstring.h");
|
include!("cxx-qt-lib/qstring.h");
|
||||||
|
@ -31,7 +31,7 @@ mod settings {
|
||||||
#[qinvokable]
|
#[qinvokable]
|
||||||
pub fn print_sound(self: Pin<&mut Self>) {
|
pub fn print_sound(self: Pin<&mut Self>) {
|
||||||
let mut config = Ini::new();
|
let mut config = Ini::new();
|
||||||
let map = config.load("~/.config/librepresenter/Libre Presenter.conf");
|
let _map = config.load("~/.config/librepresenter/Libre Presenter.conf");
|
||||||
|
|
||||||
println!("{}", self.sound_effect());
|
println!("{}", self.sound_effect());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue