[libcalamaresui] Code-formatting, remove dead code
This commit is contained in:
parent
3dda9ab860
commit
8790985fca
@ -172,10 +172,6 @@ createRoundedImage( const QPixmap& pixmap, const QSize& size, float frameWidthPc
|
|||||||
painter.setPen( pen );
|
painter.setPen( pen );
|
||||||
painter.drawRoundedRect( outerRect, qreal( frameWidthPct ) * 100.0, qreal( frameWidthPct ) * 100.0, Qt::RelativeSize );
|
painter.drawRoundedRect( outerRect, qreal( frameWidthPct ) * 100.0, qreal( frameWidthPct ) * 100.0, Qt::RelativeSize );
|
||||||
|
|
||||||
/* painter.setBrush( Qt::transparent );
|
|
||||||
painter.setPen( Qt::white );
|
|
||||||
painter.drawRoundedRect( outerRect, frameWidthPct, frameWidthPct, Qt::RelativeSize ); */
|
|
||||||
|
|
||||||
return frame;
|
return frame;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -167,9 +167,15 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** @brief Get the human-readable name for this locale. */
|
/** @brief Get the human-readable name for this locale. */
|
||||||
QString label() const { return m_label; }
|
QString label() const
|
||||||
|
{
|
||||||
|
return m_label;
|
||||||
|
}
|
||||||
/** @brief Get the Qt locale. */
|
/** @brief Get the Qt locale. */
|
||||||
QLocale locale() const { return m_locale; }
|
QLocale locale() const
|
||||||
|
{
|
||||||
|
return m_locale;
|
||||||
|
}
|
||||||
|
|
||||||
/** @brief Get a Qt locale for the given @p localeName
|
/** @brief Get a Qt locale for the given @p localeName
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user