mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-24 02:12:37 -04:00
Don't try to read wsjt.log if no such file is found. Update version# in map65b.iss.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@7543 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
65b9090903
commit
571cf41571
@ -276,16 +276,18 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||||||
// Create "m_worked", a dictionary of all calls in wsjt.log
|
// Create "m_worked", a dictionary of all calls in wsjt.log
|
||||||
QFile f("wsjt.log");
|
QFile f("wsjt.log");
|
||||||
f.open(QIODevice::ReadOnly);
|
f.open(QIODevice::ReadOnly);
|
||||||
QTextStream in(&f);
|
if(f.isOpen()) {
|
||||||
QString line,t,callsign;
|
QTextStream in(&f);
|
||||||
for(int i=0; i<99999; i++) {
|
QString line,t,callsign;
|
||||||
line=in.readLine();
|
for(int i=0; i<99999; i++) {
|
||||||
if(line.length()<=0) break;
|
line=in.readLine();
|
||||||
t=line.mid(18,12);
|
if(line.length()<=0) break;
|
||||||
callsign=t.mid(0,t.indexOf(","));
|
t=line.mid(18,12);
|
||||||
m_worked[callsign]=true;
|
callsign=t.mid(0,t.indexOf(","));
|
||||||
|
m_worked[callsign]=true;
|
||||||
|
}
|
||||||
|
f.close();
|
||||||
}
|
}
|
||||||
f.close();
|
|
||||||
|
|
||||||
if(ui->actionLinrad->isChecked()) on_actionLinrad_triggered();
|
if(ui->actionLinrad->isChecked()) on_actionLinrad_triggered();
|
||||||
if(ui->actionCuteSDR->isChecked()) on_actionCuteSDR_triggered();
|
if(ui->actionCuteSDR->isChecked()) on_actionCuteSDR_triggered();
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
; For Use With JTSDK v2.0.0
|
; For Use With JTSDK v2.0.0
|
||||||
#define MyAppName "MAP65"
|
#define MyAppName "MAP65"
|
||||||
#define MyAppVersion "2.5"
|
#define MyAppVersion "2.7"
|
||||||
#define MyAppPublisher "Joe Taylor, K1JT"
|
#define MyAppPublisher "Joe Taylor, K1JT"
|
||||||
#define MyAppCopyright "Copyright (C) 2001-2015 by Joe Taylor, K1JT"
|
#define MyAppCopyright "Copyright (C) 2001-2017 by Joe Taylor, K1JT"
|
||||||
#define MyAppURL "http://physics.princeton.edu/pulsar/k1jt/map65.html"
|
#define MyAppURL "http://physics.princeton.edu/pulsar/k1jt/map65.html"
|
||||||
#define WsjtGroupURL "https://groups.yahoo.com/neo/groups/wsjtgroup/info"
|
#define WsjtGroupURL "https://groups.yahoo.com/neo/groups/wsjtgroup/info"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user