Browse Source

qt: remove extraneous padding introduced in multiwallet support patch

solve issue #2529
miguelfreitas
Wladimir J. van der Laan 12 years ago
parent
commit
1a31428ec0
  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