Write format enum to kconfig in the same way we read it
That is, as an int. The old code just by chance compiles with Qt 5 (but not anymore with Qt 6), but would not result in the same values being read back again.
That is, as an int. The old code just by chance compiles with Qt 5 (but not anymore with Qt 6), but would not result in the same values being read back again.