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
|
#endif
|
||||||
|
|
||||||
enum Format {
|
enum Format {
|
||||||
NativeFormat,
|
NativeFormat = 0,
|
||||||
IniFormat,
|
IniFormat = 1,
|
||||||
|
|
||||||
#if defined(Q_OS_WIN) || defined(Q_QDOC)
|
#if defined(Q_OS_WIN) || defined(Q_QDOC)
|
||||||
Registry32Format,
|
Registry32Format = 2,
|
||||||
Registry64Format,
|
Registry64Format = 3,
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(Q_OS_WASM) || defined(Q_QDOC)
|
#if defined(Q_OS_WASM) || defined(Q_QDOC)
|
||||||
WebLocalStorageFormat,
|
WebLocalStorageFormat = 4,
|
||||||
WebIndexedDBFormat,
|
WebIndexedDBFormat = 5,
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
InvalidFormat = 16,
|
InvalidFormat = 16,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user