diff options
Diffstat (limited to 'core/settings/qPrefPrivate.cpp')
-rw-r--r-- | core/settings/qPrefPrivate.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/settings/qPrefPrivate.cpp b/core/settings/qPrefPrivate.cpp index 53b99c4e5..32b00ee79 100644 --- a/core/settings/qPrefPrivate.cpp +++ b/core/settings/qPrefPrivate.cpp @@ -9,3 +9,10 @@ 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); +} + |