Skip to content

Commit

Permalink
return previosly deleted empty lines
Browse files Browse the repository at this point in the history
  • Loading branch information
userwiths committed Jan 9, 2025
1 parent 3d8d163 commit 25238ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/transferlistmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,7 @@ QString TransferListModel::displayValue(const BitTorrent::Torrent *torrent, cons
case TR_PERCENT_SELECTED:
return QString::number((torrent->wantedSize() * 100) / torrent->totalSize()) + u'%';
}

return {};
}

Expand Down
1 change: 1 addition & 0 deletions src/gui/transferlistsortmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ int TransferListSortModel::compare(const QModelIndex &left, const QModelIndex &r
const auto totalR = right.data(TransferListModel::AdditionalUnderlyingDataRole).toInt();
return threeWayCompare(totalL, totalR);
}

default:
Q_ASSERT_X(false, Q_FUNC_INFO, "Missing comparison case");
break;
Expand Down

0 comments on commit 25238ee

Please sign in to comment.