From 5eb9952b8c2a918a2c3822fe72ec0f56683a2d7b Mon Sep 17 00:00:00 2001 From: Kurt Hindenburg Date: Sun, 11 Mar 2018 14:51:08 -0400 Subject: [PATCH] Add note about unreachable code --- src/SessionListModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SessionListModel.cpp b/src/SessionListModel.cpp index 2bd2d9cb..f995e307 100644 --- a/src/SessionListModel.cpp +++ b/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());