smaller font picker so it fits better on SongEditor.qml
This commit is contained in:
parent
adc8bc8c04
commit
39ef6ed492
2 changed files with 18 additions and 18 deletions
|
@ -62,17 +62,17 @@ mod image_model {
|
|||
TitleRole,
|
||||
}
|
||||
|
||||
impl FromStr for Role {
|
||||
type Err = ();
|
||||
fn from_str(input: &str) -> Result<Role, Self::Err> {
|
||||
match input {
|
||||
"id" => Ok(Role::IdRole),
|
||||
"title" => Ok(Role::TitleRole),
|
||||
"path" => Ok(Role::PathRole),
|
||||
_ => Err(()),
|
||||
}
|
||||
}
|
||||
}
|
||||
// impl FromStr for Role {
|
||||
// type Err = ();
|
||||
// fn from_str(input: &str) -> Result<Role, Self::Err> {
|
||||
// match input {
|
||||
// "id" => Ok(Role::IdRole),
|
||||
// "title" => Ok(Role::TitleRole),
|
||||
// "path" => Ok(Role::PathRole),
|
||||
// _ => Err(()),
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
// use crate::entities::{images, prelude::Images};
|
||||
// use sea_orm::{ConnectionTrait, Database, DbBackend, DbErr, Statement, ActiveValue};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue