mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-08-15 16:03:45 -04:00
Change the displayed "drift" to FFT bins per transmission length.
Re-activate "killbyname" on program startup. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@2782 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
@@ -102,6 +102,7 @@ MainWindow::MainWindow(QWidget *parent) :
|
||||
btxok=false;
|
||||
m_restart=false;
|
||||
m_transmitting=false;
|
||||
m_killAll=false;
|
||||
m_widebandDecode=false;
|
||||
m_ntx=1;
|
||||
m_myCall="K1JT";
|
||||
@@ -128,6 +129,14 @@ MainWindow::MainWindow(QWidget *parent) :
|
||||
|
||||
ui->xThermo->setFillBrush(Qt::green);
|
||||
|
||||
#ifdef WIN32
|
||||
while(true) {
|
||||
int iret=killbyname("jt9.exe");
|
||||
if(iret == 603) break;
|
||||
if(iret != 0) msgBox("KillByName return code: " +
|
||||
QString::number(iret));
|
||||
}
|
||||
#endif
|
||||
if(!mem_jt9.attach()) {
|
||||
if (!mem_jt9.create(sizeof(jt9com_))) {
|
||||
msgBox("Unable to create shared memory segment.");
|
||||
|
||||
Reference in New Issue
Block a user