Custom shibeface
You can now place a dogecoin.png in the config dir, and it will show up on the overview page.
This commit is contained in:
parent
68464d699b
commit
b14d83aabd
|
@ -8,6 +8,7 @@
|
|||
#include "transactiontablemodel.h"
|
||||
#include "transactionfilterproxy.h"
|
||||
#include "guiutil.h"
|
||||
#include "util.h"
|
||||
#include "guiconstants.h"
|
||||
|
||||
#include <QAbstractItemDelegate>
|
||||
|
@ -116,6 +117,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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue