Set QSettings::Format enum associated values
Q_QDOC sees all values, and is going to document different values than what Q_OS_WASM sees. Set the values explicitly instead, and make each value unique in order to avoid confusion. Change-Id: I0a2ddf10652be78d5b80c486261199d0d7ed5c84 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
e57ae31582
commit
09f7408d03
@ -46,17 +46,17 @@ public:
|
||||
#endif
|
||||
|
||||
enum Format {
|
||||
NativeFormat,
|
||||
IniFormat,
|
||||
NativeFormat = 0,
|
||||
IniFormat = 1,
|
||||
|
||||
#if defined(Q_OS_WIN) || defined(Q_QDOC)
|
||||
Registry32Format,
|
||||
Registry64Format,
|
||||
Registry32Format = 2,
|
||||
Registry64Format = 3,
|
||||
#endif
|
||||
|
||||
#if defined(Q_OS_WASM) || defined(Q_QDOC)
|
||||
WebLocalStorageFormat,
|
||||
WebIndexedDBFormat,
|
||||
WebLocalStorageFormat = 4,
|
||||
WebIndexedDBFormat = 5,
|
||||
#endif
|
||||
|
||||
InvalidFormat = 16,
|
||||
|
Loading…
x
Reference in New Issue
Block a user