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
parent
a232927474
commit
dd9f4a2033
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue