mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Goodbye QGraphicsView
This commit is contained in:
parent
085b724886
commit
6f1f91e78e
1 changed files with 3 additions and 6 deletions
|
@ -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>");
|
||||
|
|
Loading…
Reference in a new issue