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 @@ ...@@ -28,7 +28,8 @@
using namespace KPIM; using namespace KPIM;
MultiplyingLine::MultiplyingLine(QWidget *parent) : QWidget(parent) MultiplyingLine::MultiplyingLine(QWidget *parent)
: QWidget(parent)
{ {
} }
......
...@@ -39,15 +39,11 @@ using namespace KPIM; ...@@ -39,15 +39,11 @@ using namespace KPIM;
namespace KPIM { namespace KPIM {
class Q_DECL_HIDDEN KCheckComboBox::Private class Q_DECL_HIDDEN KCheckComboBox::Private
{ {
KCheckComboBox *q = nullptr;
public: public:
Private(KCheckComboBox *qq) Private(KCheckComboBox *qq)
: q(qq) : mSeparator(QLatin1Char(','))
, mSeparator(QLatin1Char(',')) , q(qq)
, mSqueezeText(false)
, mIgnoreHide(false)
, mAlwaysShowDefaultText(false)
{ {
} }
...@@ -59,9 +55,11 @@ public: ...@@ -59,9 +55,11 @@ public:
public: public:
QString mSeparator; QString mSeparator;
QString mDefaultText; QString mDefaultText;
bool mSqueezeText; bool mSqueezeText = false;
bool mIgnoreHide; bool mIgnoreHide = false;
bool mAlwaysShowDefaultText; 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