remove unused Q_D macros
This commit is contained in:
parent
8d25f4036a
commit
de281b9922
|
@ -93,8 +93,6 @@ QColor Snackbar::textColor() const
|
||||||
|
|
||||||
void Snackbar::setFontSize(qreal size)
|
void Snackbar::setFontSize(qreal size)
|
||||||
{
|
{
|
||||||
Q_D(Snackbar);
|
|
||||||
|
|
||||||
QFont f(font());
|
QFont f(font());
|
||||||
f.setPointSizeF(size);
|
f.setPointSizeF(size);
|
||||||
setFont(f);
|
setFont(f);
|
||||||
|
@ -104,8 +102,6 @@ void Snackbar::setFontSize(qreal size)
|
||||||
|
|
||||||
qreal Snackbar::fontSize() const
|
qreal Snackbar::fontSize() const
|
||||||
{
|
{
|
||||||
Q_D(const Snackbar);
|
|
||||||
|
|
||||||
return font().pointSizeF();
|
return font().pointSizeF();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue