From 3839a2dcfd8fbbc7598771ee604f9ff9eb08e044 Mon Sep 17 00:00:00 2001 From: Koncord Date: Wed, 11 Oct 2017 05:46:39 +0800 Subject: [PATCH] [Browser] Remove unused variables --- apps/browser/MySortFilterProxyModel.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/browser/MySortFilterProxyModel.cpp b/apps/browser/MySortFilterProxyModel.cpp index a32967adb..dbd11e7f5 100644 --- a/apps/browser/MySortFilterProxyModel.cpp +++ b/apps/browser/MySortFilterProxyModel.cpp @@ -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;