larger logo on splash screen

This commit is contained in:
Aditya Kulkarni
2018-11-09 15:59:05 -08:00
parent 655a6b62dd
commit cda0b94868
5 changed files with 3 additions and 2 deletions
+1
View File
@@ -9,5 +9,6 @@
</qresource> </qresource>
<qresource prefix="/img"> <qresource prefix="/img">
<file>res/zcashdlogo.gif</file> <file>res/zcashdlogo.gif</file>
<file>res/logobig.gif</file>
</qresource> </qresource>
</RCC> </RCC>
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

+2 -1
View File
@@ -15,7 +15,8 @@ ConnectionLoader::ConnectionLoader(MainWindow* main, RPC* rpc) {
d = new QDialog(main); d = new QDialog(main);
connD = new Ui_ConnectionDialog(); connD = new Ui_ConnectionDialog();
connD->setupUi(d); 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() { ConnectionLoader::~ConnectionLoader() {
-1
View File
@@ -802,7 +802,6 @@ void RPC::watchTxStatus() {
// Get the ZEC->USD price from coinmarketcap using their API // Get the ZEC->USD price from coinmarketcap using their API
void RPC::refreshZECPrice() { void RPC::refreshZECPrice() {
qDebug() << QString::fromStdString("Getting ZEC price");
if (conn == nullptr) if (conn == nullptr)
return noConnection(); return noConnection();