aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bantablemodel.cpp
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2017-04-10 10:24:49 +0200
committerpracticalswift <practicalswift@users.noreply.github.com>2017-04-10 10:24:49 +0200
commit9a763d4f86fb2428bfcae6cad5326600ada10c11 (patch)
tree216bc64aac841ad0a34ca5f993bac2434104ef1b /src/qt/bantablemodel.cpp
parent813eacf81b7359906bbcf3d926b411415200362c (diff)
downloadbitcoin-9a763d4f86fb2428bfcae6cad5326600ada10c11.tar.xz
Remove excess logic.
Diffstat (limited to 'src/qt/bantablemodel.cpp')
-rw-r--r--src/qt/bantablemodel.cpp4
1 files changed, 1 insertions, 3 deletions
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;
}