mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-06-01 21:45:00 -04:00
Updates to support Qt v5.13
Replacement of deprecated Qt functions and member functions.
This commit is contained in:
@@ -55,8 +55,7 @@ QSize ForeignKeyDelegate::sizeHint (QStyleOptionViewItem const& option, QModelIn
|
||||
{
|
||||
size_hint = size_hint.expandedTo (qApp->style ()->sizeFromContents (QStyle::CT_ComboBox
|
||||
, &combo_box_option
|
||||
, {metrics.width (candidate_key_filter_->data (candidate_key_filter_->index (row, 0)).toString ())
|
||||
, metrics.height ()}));
|
||||
, metrics.boundingRect (candidate_key_filter_->data (candidate_key_filter_->index (row, 0)).toString ()).size ()));
|
||||
}
|
||||
return size_hint;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user