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:
parent
829d85a70a
commit
6f32c73684
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user