be more clear in variable names
This commit is contained in:
parent
b5228dd872
commit
e83cc71725
1 changed files with 3 additions and 3 deletions
|
@ -218,10 +218,10 @@ mod video_model {
|
|||
if !idx.is_valid() {
|
||||
return qvariantmap;
|
||||
}
|
||||
let rn = self.as_ref().role_names();
|
||||
let rn_iter = rn.iter();
|
||||
let role_names = self.as_ref().role_names();
|
||||
let role_names_iter = role_names.iter();
|
||||
if let Some(video) = self.rust().videos.get(index as usize) {
|
||||
for i in rn_iter {
|
||||
for i in role_names_iter {
|
||||
qvariantmap.insert(
|
||||
QString::from(&i.1.to_string()),
|
||||
self.as_ref().data(&idx, *i.0),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue