Browse Source

fix mac specific button modification on addressbookpage

- continue the mac behavior of clearing button icons (because it's unusual on mac apps)
- fix: new button variable names, new buttons (verifyMessage, signMessage)

Signed-off-by: Jonas Schnelli <jonas.schnelli@include7.ch>
miguelfreitas
Jonas Schnelli 12 years ago
parent
commit
e0af1b3ed6
  1. 8
      src/qt/addressbookpage.cpp

8
src/qt/addressbookpage.cpp

@ -28,9 +28,11 @@ AddressBookPage::AddressBookPage(Mode mode, Tabs tab, QWidget *parent) :
ui->setupUi(this); ui->setupUi(this);
#ifdef Q_OS_MAC // Icons on push buttons are very uncommon on Mac #ifdef Q_OS_MAC // Icons on push buttons are very uncommon on Mac
ui->newAddressButton->setIcon(QIcon()); ui->newAddress->setIcon(QIcon());
ui->copyToClipboard->setIcon(QIcon()); ui->copyAddress->setIcon(QIcon());
ui->deleteButton->setIcon(QIcon()); ui->deleteAddress->setIcon(QIcon());
ui->verifyMessage->setIcon(QIcon());
ui->signMessage->setIcon(QIcon());
#endif #endif
#ifndef USE_QRCODE #ifndef USE_QRCODE

Loading…
Cancel
Save