Commit 5eb9952b authored by Kurt Hindenburg's avatar Kurt Hindenburg

Add note about unreachable code

parent 87960e3f
......@@ -77,7 +77,7 @@ QVariant SessionListModel::data(const QModelIndex &index, int role) const
} else if (column == 0) {
return _sessions[row]->sessionId();
break; // Due to the above 'column' constraints, this is never reached.
case Qt::DecorationRole:
if (column == 1) {
return QIcon::fromTheme(_sessions[row]->iconName());
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment