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