From 16fdbe2bc3ec54a22e21c279508425ec601eb179 Mon Sep 17 00:00:00 2001 From: Liana Husikyan Date: Tue, 4 Aug 2015 13:47:18 +0200 Subject: [PATCH] fixed crash when Bloclchain Download View is not wide enough --- alethzero/DownloadView.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/alethzero/DownloadView.cpp b/alethzero/DownloadView.cpp index 788a106d3..4b3bea319 100644 --- a/alethzero/DownloadView.cpp +++ b/alethzero/DownloadView.cpp @@ -176,9 +176,6 @@ void SyncView::paintEvent(QPaintEvent*) progress2 = hProgress2; label = hLabel; } - else if (rect().height() / rect().width() > 5) - { - } else { progress = pieProgress;