Starting what's needed to pass data_dir to fast_decode(). I need help!

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6740 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2016-06-08 19:49:50 +00:00
parent dae04d7a39
commit ecd36a33b5
1 changed files with 3 additions and 0 deletions

View File

@ -1963,6 +1963,9 @@ void MainWindow::decode() //decode()
narg[13]=-1;
narg[14]=m_config.aggressive();
memcpy(d2b,dec_data.d2,2*360000);
// QString pchk_file = m_config.data_dir().absoluteFilePath("peg-128-80-reg3.pchk");
// qDebug() << pchk_file << pchk_file.length();
// Q: How to pass "pchk-file" as a standard string to Fortran routine fast_decode() ??
*future3 = QtConcurrent::run(fast_decode_,&d2b[0],&narg[0],&m_msg[0][0],80);
watcher3->setFuture(*future3);
} else {