diff --git a/applets/clipboard/contents/ui/BarcodePage.qml b/applets/clipboard/contents/ui/BarcodePage.qml --- a/applets/clipboard/contents/ui/BarcodePage.qml +++ b/applets/clipboard/contents/ui/BarcodePage.qml @@ -81,6 +81,12 @@ checked: barcodeView.barcodeType == 1 onClicked: menu.change(1) } + PlasmaComponents.MenuItem { + text: i18nc("Aztec barcode", "Aztec") + checkable: true + checked: barcodeView.barcodeType == 4 + onClicked: menu.change(4) + } PlasmaComponents.MenuItem { text: i18n("Code 39") checkable: true diff --git a/klipper/clipboardjob.cpp b/klipper/clipboardjob.cpp --- a/klipper/clipboardjob.cpp +++ b/klipper/clipboardjob.cpp @@ -106,6 +106,10 @@ code = Prison::createBarcode(Prison::Code93); break; } + case 4: { + code = Prison::createBarcode(Prison::Aztec); + break; + } case 0: default: { code = Prison::createBarcode(Prison::QRCode);