summaryrefslogtreecommitdiffstats
path: root/core/settings/qPrefPrivate.cpp
blob: 32b00ee79a08f425a76ec6cfbbc5346e485ef9fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// SPDX-License-Identifier: GPL-2.0
#include "qPrefPrivate.h"

qPrefPrivate::qPrefPrivate(QObject *parent) : QObject(parent)
{
}
qPrefPrivate *qPrefPrivate::instance()
{
	static qPrefPrivate *self = new qPrefPrivate;
	return self;
}

void qPrefPrivate::copy_txt(const char **name, const QString& string)
{
	free((void *)*name);
	*name = copy_qstring(string);
}