Browse Source

update about tab image

pull/19/head
Duke Leto 3 years ago
parent
commit
8520a50fb9
  1. 2
      application.qrc
  2. 6
      src/mainwindow.cpp

2
application.qrc

@ -10,6 +10,8 @@
</qresource>
<qresource prefix="/img">
<file>res/zcashdlogo.gif</file>
<file>res/tropical-hush.png</file>
<file>res/tropical-hush-square.png</file>
<file>res/logobig.gif</file>
<file>res/silentdragon-animated.gif</file>
<file>res/silentdragon-animated-dark.gif</file>

6
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() {

Loading…
Cancel
Save