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
This commit is contained in:
Joe Taylor 2017-01-17 18:09:44 +00:00
parent d25f1d153f
commit e31c31c23b
2 changed files with 4 additions and 2 deletions

View File

@ -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)

View File

@ -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);