Commit f34c9916 authored by Laurent Montel's avatar Laurent Montel 😁

Clean up code

parent 4b9e781d
Pipeline #28625 passed with stage
in 6 minutes and 24 seconds
......@@ -28,7 +28,8 @@
using namespace KPIM;
MultiplyingLine::MultiplyingLine(QWidget *parent) : QWidget(parent)
MultiplyingLine::MultiplyingLine(QWidget *parent)
: QWidget(parent)
{
}
......
......@@ -39,15 +39,11 @@ using namespace KPIM;
namespace KPIM {
class Q_DECL_HIDDEN KCheckComboBox::Private
{
KCheckComboBox *q = nullptr;
public:
Private(KCheckComboBox *qq)
: q(qq)
, mSeparator(QLatin1Char(','))
, mSqueezeText(false)
, mIgnoreHide(false)
, mAlwaysShowDefaultText(false)
: mSeparator(QLatin1Char(','))
, q(qq)
{
}
......@@ -59,9 +55,11 @@ public:
public:
QString mSeparator;
QString mDefaultText;
bool mSqueezeText;
bool mIgnoreHide;
bool mAlwaysShowDefaultText;
bool mSqueezeText = false;
bool mIgnoreHide = false;
bool mAlwaysShowDefaultText = false;
private:
KCheckComboBox *const q;
};
}
......
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