Un-export QConfFile

Only clearCache() is used by tests. Ubsan build also passes.

Makes it easier to reason about the mutex handling in the class' ctor
and dtor.

Change-Id: I917991cfecda71dcd0a5bea7705a7f7f3a3e75b7
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
Marc Mutz 2022-02-23 08:22:46 +01:00
parent a232927474
commit dd9f4a2033
1 changed files with 2 additions and 1 deletions

View File

@ -147,7 +147,7 @@ inline QString QSettingsGroup::toString() const
return result;
}
class Q_AUTOTEST_EXPORT QConfFile
class QConfFile
{
public:
~QConfFile();
@ -156,6 +156,7 @@ public:
bool isWritable() const;
static QConfFile *fromName(const QString &name, bool _userPerms);
Q_AUTOTEST_EXPORT
static void clearCache();
QString name;