Merge pull request #436 from langerhans/1.7-dev-shibeface

Bring back the shibeface!
This commit is contained in:
langerhans 2014-04-09 21:03:22 +02:00
commit 4717f6c1b6
4 changed files with 30 additions and 0 deletions

View file

@ -46,6 +46,7 @@
<file alias="about">res/images/about.png</file>
<file alias="splash">res/images/splash.png</file>
<file alias="splash_testnet">res/images/splash_testnet.png</file>
<file alias="wallet_bgcoin">res/images/wallet_bgcoin.png</file>
</qresource>
<qresource prefix="/movies">
<file alias="spinner-000">res/movies/spinner-000.png</file>

View file

@ -267,6 +267,25 @@
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="label_wallet_bgcoin">
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap resource="../dogecoin.qrc">:/images/wallet_bgcoin</pixmap>
</property>
<property name="scaledContents">
<bool>false</bool>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="margin">
<number>-2</number>
</property>
</widget>
</item>
</layout>
</item>
<item>

View file

@ -9,6 +9,7 @@
#include "clientmodel.h"
#include "guiconstants.h"
#include "guiutil.h"
#include "util.h"
#include "optionsmodel.h"
#include "transactionfilterproxy.h"
#include "transactiontablemodel.h"
@ -120,6 +121,15 @@ OverviewPage::OverviewPage(QWidget *parent) :
ui->labelWalletStatus->setText("(" + tr("out of sync") + ")");
ui->labelTransactionsStatus->setText("(" + tr("out of sync") + ")");
// Customized branding image.
boost::filesystem::path dogepath = GetDataDir(false);
dogepath /= "dogecoin.png";
QPixmap shibecoin(dogepath.string().c_str());
if ( !shibecoin.isNull() ) {
ui->label_wallet_bgcoin->setPixmap(shibecoin);
}
// start with displaying the "out of sync" warnings
showOutOfSyncWarning(true);
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB