mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-26 15:59:50 -05:00
Add missing break in switch statements.
This commit is contained in:
parent
53fb28624e
commit
120be979e9
@ -116,6 +116,7 @@ QVariant EntryModel::data(const QModelIndex& index, int role) const
|
||||
if (entry->group()) {
|
||||
return entry->group()->name();
|
||||
}
|
||||
break;
|
||||
case 1:
|
||||
return entry->title();
|
||||
case 2:
|
||||
@ -130,6 +131,7 @@ QVariant EntryModel::data(const QModelIndex& index, int role) const
|
||||
if (entry->group()) {
|
||||
return entry->group()->iconPixmap();
|
||||
}
|
||||
break;
|
||||
case 1:
|
||||
return entry->iconPixmap();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user