From b14d83aabd45bafba5e9329fec95b58d0073de19 Mon Sep 17 00:00:00 2001 From: Alan Westbrook Date: Wed, 19 Mar 2014 01:29:04 -0700 Subject: [PATCH] Custom shibeface You can now place a dogecoin.png in the config dir, and it will show up on the overview page. --- src/qt/overviewpage.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/qt/overviewpage.cpp b/src/qt/overviewpage.cpp index ad2d682b7..0542f96f7 100644 --- a/src/qt/overviewpage.cpp +++ b/src/qt/overviewpage.cpp @@ -8,6 +8,7 @@ #include "transactiontablemodel.h" #include "transactionfilterproxy.h" #include "guiutil.h" +#include "util.h" #include "guiconstants.h" #include @@ -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); }