mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-22 04:11:16 -05:00
Don't block main window construction with not GA version warning message
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8531 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
e0e13e1778
commit
a0f117bf10
@ -919,13 +919,7 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple,
|
|||||||
|
|
||||||
if(QCoreApplication::applicationVersion().contains("-devel") or
|
if(QCoreApplication::applicationVersion().contains("-devel") or
|
||||||
QCoreApplication::applicationVersion().contains("-rc")) {
|
QCoreApplication::applicationVersion().contains("-rc")) {
|
||||||
QString errorMsg;
|
QTimer::singleShot (0, this, SLOT (not_GA_warning_message ()));
|
||||||
MessageBox::critical_message (this,
|
|
||||||
"This version of WSJT-X was built from code in the\n"
|
|
||||||
"development branch, or is a beta-level Release Candidate.\n\n"
|
|
||||||
"On-the-air use carries an obligation to report problems\n"
|
|
||||||
"to the WSJT Development group and to upgrade to a GA\n"
|
|
||||||
"(General Availability) release when that is released.\n\n", errorMsg);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!ui->cbMenus->isChecked()) {
|
if(!ui->cbMenus->isChecked()) {
|
||||||
@ -936,6 +930,16 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple,
|
|||||||
if (!m_valid) throw std::runtime_error {"Fatal initialization exception"};
|
if (!m_valid) throw std::runtime_error {"Fatal initialization exception"};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void MainWindow::not_GA_warning_message ()
|
||||||
|
{
|
||||||
|
MessageBox::critical_message (this,
|
||||||
|
"This version of WSJT-X was built from code in the\n"
|
||||||
|
"development branch, or is a beta-level Release Candidate.\n\n"
|
||||||
|
"On-the-air use carries an obligation to report problems\n"
|
||||||
|
"to the WSJT Development group and to upgrade to a GA\n"
|
||||||
|
"(General Availability) release when that is released.\n\n");
|
||||||
|
}
|
||||||
|
|
||||||
void MainWindow::initialize_fonts ()
|
void MainWindow::initialize_fonts ()
|
||||||
{
|
{
|
||||||
set_application_font (m_config.text_font ());
|
set_application_font (m_config.text_font ());
|
||||||
|
@ -292,6 +292,7 @@ private slots:
|
|||||||
void on_sbMax_dB_valueChanged(int n);
|
void on_sbMax_dB_valueChanged(int n);
|
||||||
void on_pbFoxReset_clicked();
|
void on_pbFoxReset_clicked();
|
||||||
void on_comboBoxHoundSort_activated (int index);
|
void on_comboBoxHoundSort_activated (int index);
|
||||||
|
void not_GA_warning_message ();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Q_SIGNAL void initializeAudioOutputStream (QAudioDeviceInfo,
|
Q_SIGNAL void initializeAudioOutputStream (QAudioDeviceInfo,
|
||||||
|
Loading…
Reference in New Issue
Block a user