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) {
|
||||
let chooser = gtk::FileChooserNative::new(
|
||||
Some(&"Open Image".to_string()),
|
||||
Some("Open Image"),
|
||||
Some(self),
|
||||
gtk::FileChooserAction::Open,
|
||||
None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue