src/widgets/colorinput.cpp

Sat, 05 Mar 2022 12:47:10 +0200

author
Teemu Piippo <teemu@hecknology.net>
date
Sat, 05 Mar 2022 12:47:10 +0200
changeset 159
1a04364d20b5
parent 96
165777a20dc7
permissions
-rw-r--r--

fix crash when loading a file
`object` is moved so we cannot access it after moving

#include "colorinput.h"
#include "ui_colorinput.h"

ColorInput::ColorInput(QWidget *parent) :
	QWidget(parent),
	ui(new Ui::ColorInput)
{
	ui->setupUi(this);
}

ColorInput::~ColorInput()
{
	delete ui;
}

mercurial