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

Commit 72c0282

Browse files
committed
DigitalNote v1.0.3.1 Update 1
Changelog - Updated Qt GUI methods (fixed warnings of deprecated functions) - TODO: find new way of stretching the view, not vital but would be nice
1 parent a6374e6 commit 72c0282

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/qt/addressbookpage.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ void AddressBookPage::setModel(AddressTableModel *model)
141141
// Set column widths
142142
ui->tableView->horizontalHeader()->resizeSection(
143143
AddressTableModel::Address, 320);
144-
ui->tableView->horizontalHeader()->setResizeMode(
145-
AddressTableModel::Label, QHeaderView::Stretch);
144+
ui->tableView->horizontalHeader()->sectionResizeMode(
145+
AddressTableModel::Label);
146146

147147
connect(ui->tableView->selectionModel(), SIGNAL(selectionChanged(QItemSelection,QItemSelection)),
148148
this, SLOT(selectionChanged()));

0 commit comments

Comments
 (0)