1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 03:35:53 +01:00

Added infinitive recursion assert

This commit is contained in:
Martin Tůma 2023-12-21 16:55:42 +01:00
parent 829d85a70a
commit 6f32c73684

View File

@ -1272,6 +1272,8 @@ const Style::Point &Style::point(quint32 type) const
const QFont *Style::font(Style::FontSize size, Style::FontSize defaultSize) const
{
Q_ASSERT(defaultSize != Style::NotSet);
switch (size) {
case Style::None:
return 0;