From 8fb1dc683f214cd61196bb6e4002d941291ab0be Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Sat, 27 Apr 2013 14:21:47 +0000 Subject: [PATCH] Send message to all.txt when band is changed. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3234 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mainwindow.cpp b/mainwindow.cpp index ffeeeb0a5..23ddae545 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -2494,6 +2494,13 @@ void MainWindow::on_bandComboBox_currentIndexChanged(int index) } rig->setFreq(MHz(m_dialFreq)); } + + QFile f2("ALL.TXT"); + f2.open(QIODevice::WriteOnly | QIODevice::Text | QIODevice::Append); + QTextStream out(&f2); + out << QDateTime::currentDateTimeUtc().toString("yyyy-MMM-dd hh:mm") + << " " << m_dialFreq << " MHz " << m_mode << endl; + f2.close(); } void MainWindow::on_actionPrompt_to_log_QSO_triggered(bool checked)