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();
|
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>");
|
||||||
|
|
Loading…
Reference in a new issue