[libcalamaresui] Code-formatting, remove dead code

This commit is contained in:
Adriaan de Groot 2018-12-14 11:33:13 +01:00
parent 3dda9ab860
commit 8790985fca
2 changed files with 12 additions and 10 deletions

View File

@ -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;
} }

View File

@ -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
* *