Browse Source

larger logo on splash screen

recurring
Aditya Kulkarni 6 years ago
parent
commit
cda0b94868
  1. 1
      application.qrc
  2. BIN
      res/icon.png
  3. BIN
      res/logobig.gif
  4. 3
      src/connection.cpp
  5. 1
      src/rpc.cpp

1
application.qrc

@ -9,5 +9,6 @@
</qresource>
<qresource prefix="/img">
<file>res/zcashdlogo.gif</file>
<file>res/logobig.gif</file>
</qresource>
</RCC>

BIN
res/icon.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

BIN
res/logobig.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

3
src/connection.cpp

@ -15,7 +15,8 @@ ConnectionLoader::ConnectionLoader(MainWindow* main, RPC* rpc) {
d = new QDialog(main);
connD = new Ui_ConnectionDialog();
connD->setupUi(d);
connD->topIcon->setBasePixmap(QIcon(":/icons/res/icon.ico").pixmap(256, 256));
QPixmap logo(":/img/res/logobig.gif");
connD->topIcon->setBasePixmap(logo.scaled(256, 256, Qt::KeepAspectRatio, Qt::SmoothTransformation));
}
ConnectionLoader::~ConnectionLoader() {

1
src/rpc.cpp

@ -802,7 +802,6 @@ void RPC::watchTxStatus() {
// Get the ZEC->USD price from coinmarketcap using their API
void RPC::refreshZECPrice() {
qDebug() << QString::fromStdString("Getting ZEC price");
if (conn == nullptr)
return noConnection();

Loading…
Cancel
Save