From c75abc9f7e84dd16c9f748802fd82ab2c49ec558 Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Sat, 12 Nov 2011 12:20:34 +0100 Subject: [PATCH] Comments update --- src/qt/bitcoin.cpp | 1 + src/qt/bitcoingui.cpp | 1 - src/qt/transactionview.cpp | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index cba4e851..894bbb9d 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -114,6 +114,7 @@ std::string _(const char* psz) int main(int argc, char *argv[]) { + // Internal string conversion is all UTF-8 QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8")); QTextCodec::setCodecForCStrings(QTextCodec::codecForTr()); diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index 1c496833..d4ce8a79 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -112,7 +112,6 @@ BitcoinGUI::BitcoinGUI(QWidget *parent): // Status bar notification icons QFrame *frameBlocks = new QFrame(); - //frameBlocks->setFrameStyle(QFrame::Panel | QFrame::Sunken); frameBlocks->setContentsMargins(0,0,0,0); frameBlocks->setMinimumWidth(56); frameBlocks->setMaximumWidth(56); diff --git a/src/qt/transactionview.cpp b/src/qt/transactionview.cpp index 2dcbf1ea..0e1b22e0 100644 --- a/src/qt/transactionview.cpp +++ b/src/qt/transactionview.cpp @@ -100,7 +100,6 @@ TransactionView::TransactionView(QWidget *parent) : QVBoxLayout *vlayout = new QVBoxLayout(this); vlayout->setContentsMargins(0,0,0,0); vlayout->setSpacing(0); - //vlayout->addLayout(hlayout2); QTableView *view = new QTableView(this); vlayout->addLayout(hlayout);