Add fallback icon to tTitleLabel

This commit is contained in:
Victor Tran 2020-07-29 18:38:46 +10:00
parent da4f0995ff
commit ae601327ba

View file

@ -33,7 +33,7 @@ tTitleLabel::tTitleLabel(QWidget* parent) : QLabel(parent) {
d = new tTitleLabelPrivate();
d->backButton = new QToolButton(this);
d->backButton->setIcon(QIcon::fromTheme("go-previous"));
d->backButton->setIcon(QIcon::fromTheme("go-previous", QIcon(":/the-libs/icons/go-previous.svg")));
d->backButton->setAutoRaise(true);
d->backButton->move(0, 0);
d->backButton->setFixedHeight(this->height() - 1);