window: Remove unecessary String cast in pick_file()
Per clippy lints
This commit is contained in:
parent
f0973f6cf6
commit
6e869ebb1b
1 changed files with 1 additions and 1 deletions
|
|
@ -240,7 +240,7 @@ impl LpWindow {
|
||||||
|
|
||||||
fn pick_file(&self) {
|
fn pick_file(&self) {
|
||||||
let chooser = gtk::FileChooserNative::new(
|
let chooser = gtk::FileChooserNative::new(
|
||||||
Some(&"Open Image".to_string()),
|
Some("Open Image"),
|
||||||
Some(self),
|
Some(self),
|
||||||
gtk::FileChooserAction::Open,
|
gtk::FileChooserAction::Open,
|
||||||
None,
|
None,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue