Commit 97ffa1fe authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add QRCode support in grandlee template.

CCBUG: 304664
parent 058df3a7
......@@ -439,8 +439,8 @@ void MainWidget::setupGui()
Akonadi::ContactDefaultActions *actions = new Akonadi::ContactDefaultActions( this );
actions->connectToView( mContactDetails );
actions->connectToView( mContactGroupDetails );
//#ifdef GRANTLEE_FOUND
#if 0 // disabled because Grantlee supports no i18n for KDE 4.6 yet
#ifdef GRANTLEE_FOUND
//#if 0 // disabled because Grantlee supports no i18n for KDE 4.6 yet
Akonadi::GrantleeContactFormatter *formatter =
new Akonadi::GrantleeContactFormatter(
KStandardDirs::locate( "data", QLatin1String( "kaddressbook/viewertemplates/" ) ) );
......
......@@ -148,4 +148,8 @@
{% endwith %}
{% endif %}
</table>
<p align="center">
<img src="datamatrix" vspace="1">
<img src="qrcode" vspace="1">
</p>
</div>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment