Merge pull request #436 from langerhans/1.7-dev-shibeface
Bring back the shibeface!
This commit is contained in:
commit
4717f6c1b6
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
BIN
src/qt/res/images/wallet_bgcoin.png
Executable file
BIN
src/qt/res/images/wallet_bgcoin.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 56 KiB |
Loading…
Reference in a new issue