From 8520a50fb9fc0c26a2f476f9ad9457e0574e5a95 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Sat, 26 Jun 2021 17:23:07 -0400 Subject: [PATCH] update about tab image --- application.qrc | 2 ++ src/mainwindow.cpp | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/application.qrc b/application.qrc index db8fa41..755c18b 100644 --- a/application.qrc +++ b/application.qrc @@ -10,6 +10,8 @@ res/zcashdlogo.gif + res/tropical-hush.png + res/tropical-hush-square.png res/logobig.gif res/silentdragon-animated.gif res/silentdragon-animated-dark.gif diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 54f1513..c7a2693 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1158,7 +1158,7 @@ void MainWindow::setupPeersTab() { QString addr = bannedPeerModel->getAddress(index.row()); QString ip = peer2ip(addr); QString subnet = bannedPeerModel->getSubnet(index.row()); - qint64 banned_until = bannedPeerModel->getBannedUntil(index.row()); + //qint64 banned_until = bannedPeerModel->getBannedUntil(index.row()); if(!ip.isEmpty()) { menu.addAction(tr("Copy banned peer IP"), [=] () { @@ -1267,7 +1267,9 @@ void MainWindow::setupPeersTab() { } void MainWindow::setupHushTab() { - ui->hushlogo->setBasePixmap(QPixmap(":/img/res/zcashdlogo.gif")); + // ui->hushlogo->setBasePixmap(QPixmap(":/img/res/zcashdlogo.gif")); + QPixmap image(":/img/res/tropical-hush-square.png"); + ui->hushlogo->setBasePixmap( image ); // image.scaled(600,600, Qt::KeepAspectRatioByExpanding, Qt::FastTransformation ) ); } /* void MainWindow::setupChatTab() {