mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-28 20:32:28 -04:00
Should have been included in previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4611 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
175f1913b4
commit
0070211176
@ -362,7 +362,8 @@ MainWindow::MainWindow(bool multiple, QSettings * settings, QSharedMemory *shdme
|
|||||||
{
|
{
|
||||||
if (!quitFile.remove ())
|
if (!quitFile.remove ())
|
||||||
{
|
{
|
||||||
msgBox ("Error removing \"" + quitFile.fileName () + "\" - OK to retry.");
|
msgBox ("Error removing \"" + quitFile.fileName () +
|
||||||
|
"\" - OK to retry.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -372,10 +373,12 @@ MainWindow::MainWindow(bool multiple, QSettings * settings, QSharedMemory *shdme
|
|||||||
|
|
||||||
QStringList jt9_args {
|
QStringList jt9_args {
|
||||||
"-s", QApplication::applicationName ()
|
"-s", QApplication::applicationName ()
|
||||||
|
, "-w", "1"
|
||||||
, "-e", QDir::toNativeSeparators (m_appDir)
|
, "-e", QDir::toNativeSeparators (m_appDir)
|
||||||
, "-a", QDir::toNativeSeparators (m_config.data_path ().absolutePath ())
|
, "-a", QDir::toNativeSeparators (m_config.data_path ().absolutePath ())
|
||||||
};
|
};
|
||||||
proc_jt9.start(QDir::toNativeSeparators (m_appDir) + QDir::separator () + "jt9", jt9_args, QIODevice::ReadWrite | QIODevice::Unbuffered);
|
proc_jt9.start(QDir::toNativeSeparators (m_appDir) + QDir::separator () +
|
||||||
|
"jt9", jt9_args, QIODevice::ReadWrite | QIODevice::Unbuffered);
|
||||||
|
|
||||||
getpfx(); //Load the prefix/suffix dictionary
|
getpfx(); //Load the prefix/suffix dictionary
|
||||||
genStdMsgs(m_rpt);
|
genStdMsgs(m_rpt);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user