mirror of
https://github.com/YACReader/yacreader
synced 2026-04-12 15:49:53 -04:00
Initial implementation of theming
This commit is contained in:
@ -4,6 +4,12 @@ EmptyReadingListWidget::EmptyReadingListWidget(QWidget *parent)
|
||||
: EmptyContainerInfo(parent)
|
||||
{
|
||||
setUpDefaultLayout(true);
|
||||
setPixmap(QPixmap(":/images/empty_reading_list"));
|
||||
setPixmap(theme.emptyContainer.emptyReadingListIcon);
|
||||
setText(tr("This reading list does not contain any comics yet"));
|
||||
}
|
||||
|
||||
void EmptyReadingListWidget::applyTheme(const Theme &theme)
|
||||
{
|
||||
EmptyContainerInfo::applyTheme(theme);
|
||||
setPixmap(theme.emptyContainer.emptyReadingListIcon);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user