mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-18 08:22:15 -07:00
Correctly parent
This commit is contained in:
parent
18135dda22
commit
405c0ec330
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
#include <QScreen>
|
#include <QScreen>
|
||||||
|
|
||||||
SettingsButtonWidget::SettingsButtonWidget(QWidget *parent)
|
SettingsButtonWidget::SettingsButtonWidget(QWidget *parent)
|
||||||
: QWidget(parent), button(new QToolButton(this)), popup(new SettingsPopupWidget(this))
|
: QWidget(parent), button(new QToolButton(this)), popup(new SettingsPopupWidget(nullptr))
|
||||||
{
|
{
|
||||||
|
|
||||||
button->setIcon(QPixmap("theme:icons/cogwheel"));
|
button->setIcon(QPixmap("theme:icons/cogwheel"));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue