mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-15 01:07:27 -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()) {
|
if (entry->group()) {
|
||||||
return entry->group()->name();
|
return entry->group()->name();
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
return entry->title();
|
return entry->title();
|
||||||
case 2:
|
case 2:
|
||||||
@ -130,6 +131,7 @@ QVariant EntryModel::data(const QModelIndex& index, int role) const
|
|||||||
if (entry->group()) {
|
if (entry->group()) {
|
||||||
return entry->group()->iconPixmap();
|
return entry->group()->iconPixmap();
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
return entry->iconPixmap();
|
return entry->iconPixmap();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user