Insert the label -> key mappings directly as user data in the paper size
combo box, so there is no need to keep their map for lookups.
Also, make use of QPageSize for the labels, so there is no need for
translating them again in kbibtex.
thomasfischer |
KBibTeX |
Insert the label -> key mappings directly as user data in the paper size
combo box, so there is no need to keep their map for lookups.
Also, make use of QPageSize for the labels, so there is no need for
translating them again in kbibtex.
Builds fine, and the configuration is read/saved correctly
as before.
No Linters Available |
No Unit Test Coverage |
Buildable 3503 | |
Build 3521: arc lint + arc unit |
Sorry for my late answer.
Yes, this patch can be accepted into KBibTeX.
One minor issue: I am quite certain it would be better to have the QMap both static and const. Please let me know if you disagree.
src/gui/preferences/settingsfileexporterpdfpswidget.cpp | ||
---|---|---|
96–103 | This map can be made static. |