summaryrefslogtreecommitdiffstats
path: root/core/settings/qPrefPrivate.cpp
blob: 0275791cfac0b125c0cdfbe47aebaf3aa53d29e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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);
}