Add missing break in switch statements.

This commit is contained in:
Felix Geyer 2012-05-14 16:45:32 +02:00
parent 53fb28624e
commit 120be979e9

View File

@ -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();
}