File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ IDI_ICON1 ICON "Icon/canlendar.ico"
77#endif
88
99VS_VERSION_INFO VERSIONINFO
10- FILEVERSION 0,0,3 ,0
11- PRODUCTVERSION 0,0,3 ,0
10+ FILEVERSION 0,0,4 ,0
11+ PRODUCTVERSION 0,0,4 ,0
1212 FILEFLAGSMASK 0x3fL
1313#ifdef _DEBUG
1414 FILEFLAGS VS_FF_DEBUG
@@ -25,11 +25,11 @@ VS_VERSION_INFO VERSIONINFO
2525 BEGIN
2626 VALUE "CompanyName", "�鶯�������\0"
2727 VALUE "FileDescription", "�߿�����ʱ\0"
28- VALUE "FileVersion", "0.0.3 .0\0"
28+ VALUE "FileVersion", "0.0.4 .0\0"
2929 VALUE "LegalCopyright", "�鶯������� The MIT License\0"
3030 VALUE "OriginalFilename", "CountDown.exe\0"
3131 VALUE "ProductName", "�߿�����ʱ\0"
32- VALUE "ProductVersion", "0.0.3 .0\0"
32+ VALUE "ProductVersion", "0.0.4 .0\0"
3333 VALUE "InternalName", "CountDown.exe\0"
3434 END
3535 END
Original file line number Diff line number Diff line change @@ -18,7 +18,11 @@ const char * const Action_Pos = "action/pos";
1818const char * const Action_Opacity = " action/opacity" ;
1919
2020const char Default_Symbol = ' %' ;
21- const QDate Default_Date (QDate::currentDate().year(), 6, 7);
21+ const QDate Default_Date = []{
22+ QDate today = QDate::currentDate ();
23+ QDate examDate = QDate (today.year (), 6 , 7 );
24+ return today.daysTo (examDate) < 0 ? examDate.addYears (1 ) : examDate;
25+ }();
2226const double Default_Opacity = 0.75 ;
2327}
2428
You can’t perform that action at this time.
0 commit comments