From e31c31c23b211f01750c5514a573b7dfd393b572 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Tue, 17 Jan 2017 18:09:44 +0000 Subject: [PATCH] For now, don't create a "winmain". git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@7523 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- CMakeLists.txt | 1 + mainwindow.cpp | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d7fcd406a..098a6d7ac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -115,6 +115,7 @@ target_link_libraries (map65 m65impl ${fftw3f_LIBRARIES} ${CMAKE_CURRENT_SOURCE_ if (WIN32) target_link_libraries (map65) +# set_target_properties (map65 PROPERTIES LINK_FLAGS_RELEASE "${LINKER_FLAGS_RELEASE} ") set_target_properties (map65 PROPERTIES LINK_FLAGS_RELEASE "${LINKER_FLAGS_RELEASE} -mwindows") endif (WIN32) qt5_use_modules (map65 Widgets Multimedia OpenGL) diff --git a/mainwindow.cpp b/mainwindow.cpp index 15b980277..a9caf54ec 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1421,7 +1421,8 @@ void MainWindow::guiUpdate() int khsym=0; double tx1=0.0; - double tx2=126.0*4096.0/(m_nfast*11025.0) + 1.8; //### depend on TxDelay? + double tx2=126.0*4096.0/(m_nfast*11025.0) + 1.8; + if(m_modeTx=="QRA64") tx2=84.0*6912.0/12000.0 + 1.8; if(!m_txFirst) { tx1 += m_TRperiod; @@ -1566,7 +1567,7 @@ void MainWindow::guiUpdate() } if(nsec != m_sec0) { //Once per second -// qDebug() << "B" << bTune << bTxTime << btxok; +// qDebug() << "A" << nsec%60; soundInThread.setForceCenterFreqMHz(g_pWideGraph->m_dForceCenterFreq); soundInThread.setForceCenterFreqBool(g_pWideGraph->m_bForceCenterFreq);