summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2019-06-02 22:28:06 +0200
committerChristoph Berg <myon@debian.org>2019-06-02 22:28:06 +0200
commit6a7ee0edb204e59f49b8b26839d956d77aba3592 (patch)
tree41aab436e745d72d7cac315e53fffb1d81354f17
parente6817de24bdd0a9f5677b07d6bff897a5db47794 (diff)
Don't disable program during next weekend, people are using it for normal FT8 operation
-rw-r--r--debian/patches/0013-no-fieldday.patch19
-rw-r--r--debian/patches/series1
2 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/0013-no-fieldday.patch b/debian/patches/0013-no-fieldday.patch
new file mode 100644
index 00000000..b3a42b71
--- /dev/null
+++ b/debian/patches/0013-no-fieldday.patch
@@ -0,0 +1,19 @@
+--- a/widgets/mainwindow.cpp
++++ b/widgets/mainwindow.cpp
+@@ -993,14 +993,10 @@ void MainWindow::not_GA_warning_message
+ MessageBox::critical_message (this,
+ "<b><p align=\"center\">"
+ "This is a pre-release version of WSJT-X 2.1.0 made "
+- "available for testing purposes. By design it will "
+- "be nonfunctional during the 2019 ARRL June VHF contest "
+- "(June 8-10) and Field Day (June 22-23) weekends. It "
++ "available for testing purposes. It "
+ "will be permanently nonfunctional after July 21, 2019.");
+ auto now = QDateTime::currentDateTimeUtc ();
+- if ((QDateTime {{2019, 6, 8}, {18, 0}, Qt::UTC} <= now
+- && now < QDateTime {{2019, 6, 10}, {3, 0}, Qt::UTC})
+- || now >= QDateTime {{2019, 7, 21}, {0, 0}, Qt::UTC})
++ if (now >= QDateTime {{2019, 7, 21}, {0, 0}, Qt::UTC})
+ {
+ Q_EMIT finished ();
+ }
diff --git a/debian/patches/series b/debian/patches/series
index 1e31b31b..81138f05 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -9,3 +9,4 @@
0010-spelling-errors.patch
0011-remove-local-boost.patch
0012-no-revisiontag.patch
+0013-no-fieldday.patch