From 9a763d4f86fb2428bfcae6cad5326600ada10c11 Mon Sep 17 00:00:00 2001 From: practicalswift Date: Mon, 10 Apr 2017 10:24:49 +0200 Subject: Remove excess logic. --- src/qt/bantablemodel.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/qt/bantablemodel.cpp') diff --git a/src/qt/bantablemodel.cpp b/src/qt/bantablemodel.cpp index 4b34e73eb7..f8a99506c1 100644 --- a/src/qt/bantablemodel.cpp +++ b/src/qt/bantablemodel.cpp @@ -181,7 +181,5 @@ void BanTableModel::sort(int column, Qt::SortOrder order) bool BanTableModel::shouldShow() { - if (priv->size() > 0) - return true; - return false; + return priv->size() > 0; } -- cgit v1.2.3