Commit 3bccf881 authored by Laurent Montel's avatar Laurent Montel 😁

Initialize variable in header

parent 3f32c152
Pipeline #31694 passed with stage
in 14 minutes and 27 seconds
...@@ -63,8 +63,6 @@ class Q_DECL_HIDDEN GrantleeContactFormatter::Private ...@@ -63,8 +63,6 @@ class Q_DECL_HIDDEN GrantleeContactFormatter::Private
{ {
public: public:
Private() Private()
: forceDisableQRCode(false)
, showQRCode(true)
{ {
KConfig config(QStringLiteral("akonadi_contactrc")); KConfig config(QStringLiteral("akonadi_contactrc"));
KConfigGroup group(&config, QStringLiteral("View")); KConfigGroup group(&config, QStringLiteral("View"));
...@@ -103,7 +101,7 @@ public: ...@@ -103,7 +101,7 @@ public:
Grantlee::Template mEmbeddableTemplate; Grantlee::Template mEmbeddableTemplate;
QString mErrorMessage; QString mErrorMessage;
bool forceDisableQRCode = false; bool forceDisableQRCode = false;
bool showQRCode = false; bool showQRCode = true;
}; };
GrantleeContactFormatter::GrantleeContactFormatter() GrantleeContactFormatter::GrantleeContactFormatter()
......
Markdown is supported
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