Browse Source

Merge pull request #2572 from laanwj/2013_04_wasted_space

qt: remove extraneous padding introduced in multiwallet support patch
0.8
Wladimir J. van der Laan 12 years ago
parent
commit
3c3164da73
  1. 2
      src/qt/walletframe.cpp
  2. 1
      src/qt/walletstack.cpp

2
src/qt/walletframe.cpp

@ -20,8 +20,10 @@ WalletFrame::WalletFrame(BitcoinGUI *_gui) :
{ {
// Leave HBox hook for adding a list view later // Leave HBox hook for adding a list view later
QHBoxLayout *walletFrameLayout = new QHBoxLayout(this); QHBoxLayout *walletFrameLayout = new QHBoxLayout(this);
setContentsMargins(0,0,0,0);
walletStack = new WalletStack(this); walletStack = new WalletStack(this);
walletStack->setBitcoinGUI(gui); walletStack->setBitcoinGUI(gui);
walletFrameLayout->setContentsMargins(0,0,0,0);
walletFrameLayout->addWidget(walletStack); walletFrameLayout->addWidget(walletStack);
} }

1
src/qt/walletstack.cpp

@ -16,6 +16,7 @@ WalletStack::WalletStack(QWidget *parent) :
clientModel(0), clientModel(0),
bOutOfSync(true) bOutOfSync(true)
{ {
setContentsMargins(0,0,0,0);
} }
WalletStack::~WalletStack() WalletStack::~WalletStack()

Loading…
Cancel
Save