OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21f22cb
)
remove redundant access specifier in QDate
author
Ivailo Monev
<xakepa10@gmail.com>
Thu, 24 Dec 2020 18:56:24 +0000
(18:56 +0000)
committer
Ivailo Monev
<xakepa10@gmail.com>
Thu, 24 Dec 2020 18:56:24 +0000
(18:56 +0000)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/core/tools/qdatetime.h
patch
|
blob
|
history
diff --git
a/src/core/tools/qdatetime.h
b/src/core/tools/qdatetime.h
index
e7bc0ed
..
4bf3935
100644
(file)
--- 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; }