Goodbye QGraphicsView

This commit is contained in:
coral 2018-01-07 11:55:41 -08:00
parent 085b724886
commit 6f1f91e78e

View file

@ -461,13 +461,10 @@ QVBoxLayout *SettingsDialog::createAboutTab()
auto layout = this->createTabLayout();
QPixmap image;
image.load(":/images/aboutlogo.png");
auto scene = new QGraphicsScene(this);
scene->addPixmap(image);
scene->setSceneRect(image.rect());
QGraphicsView *view = new QGraphicsView(scene);
view->setStyleSheet("background: transparent");
layout->addWidget(view);
auto aboutimage = new QLabel();
aboutimage->setPixmap(image);
layout->addWidget(aboutimage);
auto created = new QLabel();
created->setText("Twitch Chat Client created by <a href=\"github.com/fourtf\">fourtf</a>");