Add note about unreachable code

wilder-portage
Kurt Hindenburg 8 years ago
parent 87960e3f65
commit 5eb9952b8c
  1. 2
      src/SessionListModel.cpp

@ -77,7 +77,7 @@ QVariant SessionListModel::data(const QModelIndex &index, int role) const
} else if (column == 0) {
return _sessions[row]->sessionId();
}
break;
break; // Due to the above 'column' constraints, this is never reached.
case Qt::DecorationRole:
if (column == 1) {
return QIcon::fromTheme(_sessions[row]->iconName());

Loading…
Cancel
Save