borrow implementation of sizeHint from QPushButton
This commit is contained in:
parent
9f640ff6ca
commit
1f27c89bec
|
@ -40,6 +40,7 @@ QSize FlatButton::sizeHint() const
|
||||||
h = qMax(h, ih);
|
h = qMax(h, ih);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
QString s(text());
|
QString s(text());
|
||||||
bool empty = s.isEmpty();
|
bool empty = s.isEmpty();
|
||||||
if (empty)
|
if (empty)
|
||||||
|
|
Loading…
Reference in New Issue