1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-30 15:52:12 +01:00

LP-245 config: silence logs

This commit is contained in:
Philippe Renon 2016-09-20 09:08:21 +02:00 committed by Philippe Renon
parent 8e3c83b7ba
commit 4e08553de7

View File

@ -191,7 +191,7 @@ void ConfigGadgetWidget::resizeEvent(QResizeEvent *event)
void ConfigGadgetWidget::onAutopilotConnect()
{
qDebug() << "ConfigGadgetWidget::onAutopilotConnect";
// qDebug() << "ConfigGadgetWidget::onAutopilotConnect";
// Check what Board type we are talking to, and if necessary, remove/add tabs in the config gadget
ExtensionSystem::PluginManager *pm = ExtensionSystem::PluginManager::instance();
@ -231,14 +231,14 @@ void ConfigGadgetWidget::onAutopilotConnect()
stackWidget->replaceTab(ConfigGadgetWidget::Hardware, widget);
} else {
// Unknown board
qDebug() << "Unknown board " << board;
qWarning() << "Unknown board " << board;
}
}
}
void ConfigGadgetWidget::onAutopilotDisconnect()
{
qDebug() << "ConfigGadgetWidget::onAutopilotDiconnect";
// qDebug() << "ConfigGadgetWidget::onAutopilotDiconnect";
QWidget *widget;
widget = new DefaultConfigWidget(this, tr("Attitude"));
@ -250,7 +250,7 @@ void ConfigGadgetWidget::onAutopilotDisconnect()
void ConfigGadgetWidget::onOPLinkConnect()
{
qDebug() << "ConfigGadgetWidget::onOPLinkConnect";
// qDebug() << "ConfigGadgetWidget::onOPLinkConnect";
ConfigTaskWidget *widget = new ConfigOPLinkWidget(this);
widget->bind();
@ -259,7 +259,7 @@ void ConfigGadgetWidget::onOPLinkConnect()
void ConfigGadgetWidget::onOPLinkDisconnect()
{
qDebug() << "ConfigGadgetWidget::onOPLinkDisconnect";
// qDebug() << "ConfigGadgetWidget::onOPLinkDisconnect";
QWidget *widget = new DefaultConfigWidget(this, tr("OPLink Configuration"));
stackWidget->replaceTab(ConfigGadgetWidget::OPLink, widget);