summaryrefslogtreecommitdiffstats
path: root/src/gui/doc/snippets/textdocument-blocks/mainwindow.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2019-05-28 16:21:15 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2019-07-01 17:47:51 +0200
commit2f19a3053ea0216050a8eb76e6e062df9df1538d (patch)
tree3156575c7c635a13b72a3bfba7d217652cde7b5b /src/gui/doc/snippets/textdocument-blocks/mainwindow.cpp
parent7993cada3961cca417431a392fc047a3d7909657 (diff)
Use simpler data structures in cldr2qtimezone.py
Use tuples for the fixed data. The numbering of rows in the data tables isn't part of any public API, so we can change it freely; it is thus unnecessary, as we can just enumerate a tuple of the data values to generate sequential indices on the fly. (Updates to the data shall no longer need to renumber in order to insert entries.) Restore ordering of the data tables, and remove wanton spacing from inside parens, in the process. Change-Id: I59956cfb6191fe729300b57070671b7e66bd0379 Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/doc/snippets/textdocument-blocks/mainwindow.cpp')
0 files changed, 0 insertions, 0 deletions