fixed compiler warnings detected by jenkins build server

This commit is contained in:
Mathew Sutcliffe
2014-04-07 15:47:12 +01:00
parent 2f8efe5c3b
commit 903ddf7841
3 changed files with 4 additions and 2 deletions

View File

@@ -221,6 +221,7 @@ void MainWindow::init(GuiModes::CoreMode coreMode)
this->connect(this->m_contextSettings, &IContextSettings::changedSettings, this, &MainWindow::changedSettings);
connect = this->connect(this->m_contextNetwork, SIGNAL(textMessagesReceived(BlackMisc::Network::CTextMessageList)), this, SLOT(appendTextMessagesToGui(BlackMisc::Network::CTextMessageList)));
Q_ASSERT(connect);
Q_UNUSED(connect); // suppress GCC warning in release build
this->connect(this->m_contextSimulator, &IContextSimulator::connectionChanged, this, &MainWindow::simulatorAvailable);
this->connect(this->m_timerUpdateAircraftsInRange, &QTimer::timeout, this, &MainWindow::timerBasedUpdates);
this->connect(this->m_timerUpdateAtcStationsOnline, &QTimer::timeout, this, &MainWindow::timerBasedUpdates);