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