mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
128fc5f4b8
We can argue about any of the changes here, but they are the result of our whitespace.pl script - so if any of this is offensive to you, part of the resolution will be fixing the script... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
17 lines
361 B
C++
17 lines
361 B
C++
// 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);
|
|
}
|