From ecd36a33b58e5070f9239cf2000252e06243690a Mon Sep 17 00:00:00 2001 From: Joe Taylor <k1jt@arrl.org> Date: Wed, 8 Jun 2016 19:49:50 +0000 Subject: [PATCH] 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 --- mainwindow.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mainwindow.cpp b/mainwindow.cpp index 34fd29980..03a727f0f 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -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 {