remove fontMetrics()
This commit is contained in:
parent
d0b4b462f0
commit
f07387267a
@ -859,12 +859,6 @@ QFont Theme::font(FontRole role) const
|
||||
return d->generalFont;
|
||||
}
|
||||
|
||||
QFontMetrics Theme::fontMetrics() const
|
||||
{
|
||||
//TODO: allow this to be overridden with a plasma specific font?
|
||||
return QFontMetrics(d->generalFont);
|
||||
}
|
||||
|
||||
bool Theme::windowTranslucencyEnabled() const
|
||||
{
|
||||
return d->compositingActive;
|
||||
|
@ -170,11 +170,6 @@ class PLASMA_EXPORT Theme : public QObject
|
||||
*/
|
||||
QFont font(FontRole role) const;
|
||||
|
||||
/**
|
||||
* @return the font metrics for the font to be used by themed items
|
||||
*/
|
||||
QFontMetrics fontMetrics() const;
|
||||
|
||||
/**
|
||||
* @return true if the window manager effects (e.g. translucency, compositing) is active or not
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user