forked from qt-creator/qt-creator
DiffEditor: Use DiffSide enum inside ChunkSelection
Change-Id: If23b0f46856eebec96624e58b6ad90b1b3e8be23 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -17,7 +17,7 @@ namespace DiffEditor {
|
||||
|
||||
int ChunkSelection::selectedRowsCount() const
|
||||
{
|
||||
return Utils::toSet(leftSelection).unite(Utils::toSet(rightSelection)).size();
|
||||
return Utils::toSet(selection[LeftSide]).unite(Utils::toSet(selection[RightSide])).size();
|
||||
}
|
||||
|
||||
static QList<TextLineData> assemblyRows(const QList<TextLineData> &lines,
|
||||
|
||||
Reference in New Issue
Block a user