diff --git a/src/qt/bitcoin.qrc b/src/qt/bitcoin.qrc index c2b62282de..d0b0b4aa2b 100644 --- a/src/qt/bitcoin.qrc +++ b/src/qt/bitcoin.qrc @@ -42,6 +42,9 @@ res/icons/qrcode.png res/icons/debugwindow.png + + res/css/drkblue.css + res/images/about.png res/images/splash.png @@ -86,7 +89,6 @@ locale/darkcoin_bar.qm - locale/darkcoin_bg.qm locale/darkcoin_ca.qm locale/darkcoin_cmn.qm locale/darkcoin_cs.qm @@ -101,7 +103,6 @@ locale/darkcoin_hu_HU.qm locale/darkcoin_it.qm locale/darkcoin_lv_LV.qm - locale/darkcoin_nb.qm locale/darkcoin_nl.qm locale/darkcoin_pl.qm locale/darkcoin_pt.qm diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp old mode 100644 new mode 100755 index 95fd567c7c..fa0bd8ec89 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -48,6 +48,7 @@ #include #include #include +#include #if QT_VERSION < 0x050000 #include @@ -71,6 +72,13 @@ BitcoinGUI::BitcoinGUI(bool fIsTestnet, QWidget *parent) : prevBlocks(0), spinnerFrame(0) { + /* Open default CSS */ + QFile qFile(":/css/drkblue"); + if (qFile.open(QFile::ReadOnly)) { + QString styleSheet = QLatin1String(qFile.readAll()); + this->setStyleSheet(styleSheet); + } + GUIUtil::restoreWindowGeometry("nWindow", QSize(850, 550), this); QString windowTitle = tr("Darkcoin Core") + " - ";