mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-25 08:41:01 +01:00
[escher/pointer_text_view] Clean minimalSizeForOptimalDisplay
It was unneedingly overriden + added escape case on nullptr text
This commit is contained in:
@@ -14,7 +14,3 @@ void PointerTextView::setText(const char * text) {
|
||||
markRectAsDirty(bounds());
|
||||
}
|
||||
}
|
||||
|
||||
KDSize PointerTextView::minimalSizeForOptimalDisplay() const {
|
||||
return m_font->stringSize(text());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user