From fa33ce9b3baaa8046322fe12f725fec51a2b155a Mon Sep 17 00:00:00 2001 From: langerhans Date: Wed, 9 Apr 2014 20:14:10 +0200 Subject: [PATCH] Port custom shibeface from b14d83aabd45bafba5e9329fec95b58d0073de19 --- src/qt/overviewpage.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/qt/overviewpage.cpp b/src/qt/overviewpage.cpp index d87c09cc8..7f6b9ef3e 100644 --- a/src/qt/overviewpage.cpp +++ b/src/qt/overviewpage.cpp @@ -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); }