mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-08-14 23:43:44 -04:00
Updates to support Qt v5.13
Replacement of deprecated Qt functions and member functions.
This commit is contained in:
@@ -35,7 +35,7 @@ public:
|
||||
QSize minimumSizeHint () const override
|
||||
{
|
||||
QFontMetrics font_metrics {font (), nullptr};
|
||||
return {tick_length + text_indent + font_metrics.width ("00+"), (font_metrics.height () + line_spacing) * range};
|
||||
return {tick_length + text_indent + font_metrics.boundingRect ("00+").width (), (font_metrics.height () + line_spacing) * range};
|
||||
}
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user