[Browser] Remove unused variables

This commit is contained in:
Koncord 2017-10-11 05:46:39 +08:00
parent ed75563a94
commit 3839a2dcfd

View file

@ -35,8 +35,6 @@ bool MySortFilterProxyModel::lessThan(const QModelIndex &source_left, const QMod
if(sortColumn() == ServerData::PING)
{
bool valid;
QModelIndex cLeft = source_left;
QModelIndex cRight = source_right;
int pingright = sourceModel()->data(source_right).toInt(&valid);
pingright = valid ? pingright : PING_UNREACHABLE;