mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-31 16:38:35 -04:00
Fix "open next in directory" for filenames with HHMMSS rather than HHMM.
Start process of makinf nsave known to GUI. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@2539 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
92478063f7
commit
5879498755
@ -1,6 +1,6 @@
|
||||
subroutine decode1a(dd,newdat,f0,nflip,mode65,nfsample,xpol,
|
||||
+ mycall,hiscall,hisgrid,neme,ndepth,nqd,dphi,ndphi,iloop,
|
||||
+ nutc,nkhz,ndf,ipol,sync2,a,dt,pol,nkv,nhist,qual,decoded)
|
||||
+ mycall,hiscall,hisgrid,neme,ndepth,nqd,dphi,ndphi,iloop,
|
||||
+ nutc,nkhz,ndf,ipol,sync2,a,dt,pol,nkv,nhist,nsave,qual,decoded)
|
||||
|
||||
! Apply AFC corrections to a candidate JT65 signal, then decode it.
|
||||
|
||||
|
@ -206,7 +206,7 @@ subroutine map65a(dd,ss,savg,newdat,nutc,fcenter,ntol,idphi,nfa,nfb, &
|
||||
call decode1a(dd,newdat,f00,nflip,mode65,nfsample,xpol, &
|
||||
mycall,hiscall,hisgrid,neme,ndepth,nqd,dphi,ndphi, &
|
||||
iloop,nutc,ikHz,idf,ipol,sync2,a,dt,pol,nkv,nhist, &
|
||||
qual,decoded)
|
||||
nsave,qual,decoded)
|
||||
dt=dt+0.8 !### empirical tweak
|
||||
call timer('decode1a',1)
|
||||
|
||||
|
@ -974,15 +974,15 @@ void MainWindow::on_actionOpen_next_in_directory_triggered() //Open Next
|
||||
QStringList list;
|
||||
if(m_xpol) {
|
||||
list= fi.dir().entryList().filter(".tf2");
|
||||
len=15;
|
||||
// len=15;
|
||||
} else {
|
||||
list= fi.dir().entryList().filter(".iq");
|
||||
len=14;
|
||||
// len=14;
|
||||
}
|
||||
for (i = 0; i < list.size()-1; ++i) {
|
||||
if(i==list.size()-2) m_loopall=false;
|
||||
qDebug() << len << m_path;
|
||||
|
||||
// qDebug() << len << i << list.at(i) << list.at(i).length();
|
||||
len=list.at(i).length();
|
||||
if(list.at(i)==m_path.right(len)) {
|
||||
int n=m_path.length();
|
||||
QString fname=m_path.replace(n-len,len,list.at(i+1));
|
||||
|
Loading…
Reference in New Issue
Block a user