Allow barcodes to be nullpointers

Authored by svuorela on Feb 18 2018, 8:34 PM.

Description

Allow barcodes to be nullpointers

libprison has the possibility to return nullpointers for createBarcode.
A nullpointer signals that this library can't create this barcode type.

This will be more likely in the future due to more modularity.
Handle these cases.

Differential Revision: https://phabricator.kde.org/D10630

Details

Committed
svuorelaFeb 18 2018, 8:34 PM
Differential Revision
D10630: Optional barcodes in libprison
Parents
R459:761b8730afbf: GIT_SILENT: Prepare 5.7.3
Branches
Unknown
Tags
Unknown