From: Ivailo Monev Date: Thu, 24 Dec 2020 18:56:24 +0000 (+0000) Subject: remove redundant access specifier in QDate X-Git-Tag: 4.12.0~2962 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=46b1b4708a2abd6f5be9c8971ec9672c8706fd21;p=kde%2FKatie.git remove redundant access specifier in QDate Signed-off-by: Ivailo Monev --- diff --git a/src/core/tools/qdatetime.h b/src/core/tools/qdatetime.h index e7bc0ed96..4bf393559 100644 --- a/src/core/tools/qdatetime.h +++ b/src/core/tools/qdatetime.h @@ -50,7 +50,7 @@ public: DateFormat = 0, StandaloneFormat }; -public: + QDate() { jd = 0; } QDate(int y, int m, int d); @@ -162,6 +162,7 @@ public: void start(); int restart(); int elapsed() const; + private: enum TimeFlag { NullTime = -1 }; inline int ds() const { return mds == NullTime ? 0 : mds; }