[welcome] Allow theming the international language-select icon

This commit is contained in:
Adriaan de Groot 2019-05-31 16:59:38 +02:00
parent 75ce391e7e
commit 07c638ed48
5 changed files with 31 additions and 1 deletions

View file

@ -270,6 +270,12 @@ WelcomePage::externallySelectedLanguage( int row )
ui->languageWidget->setCurrentIndex( row );
}
void
WelcomePage::setLanguageIcon( QIcon i )
{
ui->languageIcon->setPixmap( i.pixmap(48) );
}
void
LocaleTwoColumnDelegate::paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const