src/widgets/colorinput.cpp

Sat, 10 Jun 2023 17:26:32 +0300

author
Teemu Piippo <teemu.s.piippo@gmail.com>
date
Sat, 10 Jun 2023 17:26:32 +0300
changeset 382
94d5587bb0c4
parent 96
165777a20dc7
permissions
-rw-r--r--

use a parameter to avoid temporarily changing member variables

#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