window: Remove unecessary String cast in pick_file()

Per clippy lints
This commit is contained in:
Christopher Davis 2022-06-29 20:10:37 -04:00
parent f0973f6cf6
commit 6e869ebb1b

View file

@ -240,7 +240,7 @@ impl LpWindow {
fn pick_file(&self) {
let chooser = gtk::FileChooserNative::new(
Some(&"Open Image".to_string()),
Some("Open Image"),
Some(self),
gtk::FileChooserAction::Open,
None,