Resolve other switch fallthrough issues
This commit is contained in:
		| @@ -357,11 +357,12 @@ QVariant AccountList::data(const QModelIndex &index, int role) const | ||||
|             return QVariant::fromValue(account); | ||||
|  | ||||
|         case Qt::CheckStateRole: | ||||
|             switch (index.column()) | ||||
|             { | ||||
|                 case ProfileNameColumn: | ||||
|                     return account == m_defaultAccount ? Qt::Checked : Qt::Unchecked; | ||||
|             if (index.column() == ProfileNameColumn) { | ||||
|                 return account == m_defaultAccount ? Qt::Checked : Qt::Unchecked; | ||||
|             } else { | ||||
|                 return QVariant(); | ||||
|             } | ||||
|              | ||||
|  | ||||
|         default: | ||||
|             return QVariant(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 PandaNinjas
					PandaNinjas