Browse Source

Merge pull request #2572 from laanwj/2013_04_wasted_space

qt: remove extraneous padding introduced in multiwallet support patch
miguelfreitas
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) : @@ -20,8 +20,10 @@ WalletFrame::WalletFrame(BitcoinGUI *_gui) :
{
// Leave HBox hook for adding a list view later
QHBoxLayout *walletFrameLayout = new QHBoxLayout(this);
setContentsMargins(0,0,0,0);
walletStack = new WalletStack(this);
walletStack->setBitcoinGUI(gui);
walletFrameLayout->setContentsMargins(0,0,0,0);
walletFrameLayout->addWidget(walletStack);
}

1
src/qt/walletstack.cpp

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

Loading…
Cancel
Save