Skip to content
This repository has been archived by the owner on Jul 23, 2021. It is now read-only.

Commit

Permalink
DigitalNote v1.0.3.1 Update 1
Browse files Browse the repository at this point in the history
Changelog

- Updated Qt GUI methods (fixed warnings of deprecated functions)
- TODO: find new way of stretching the view, not vital but would be nice
  • Loading branch information
CryptoCoderz committed Aug 9, 2020
1 parent a6374e6 commit 72c0282
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qt/addressbookpage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ void AddressBookPage::setModel(AddressTableModel *model)
// Set column widths
ui->tableView->horizontalHeader()->resizeSection(
AddressTableModel::Address, 320);
ui->tableView->horizontalHeader()->setResizeMode(
AddressTableModel::Label, QHeaderView::Stretch);
ui->tableView->horizontalHeader()->sectionResizeMode(
AddressTableModel::Label);

connect(ui->tableView->selectionModel(), SIGNAL(selectionChanged(QItemSelection,QItemSelection)),
this, SLOT(selectionChanged()));
Expand Down

0 comments on commit 72c0282

Please sign in to comment.