mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-04-11 03:02:20 +02:00
LP-245 config: silence logs
This commit is contained in:
parent
8e3c83b7ba
commit
4e08553de7
@ -191,7 +191,7 @@ void ConfigGadgetWidget::resizeEvent(QResizeEvent *event)
|
|||||||
|
|
||||||
void ConfigGadgetWidget::onAutopilotConnect()
|
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
|
// Check what Board type we are talking to, and if necessary, remove/add tabs in the config gadget
|
||||||
ExtensionSystem::PluginManager *pm = ExtensionSystem::PluginManager::instance();
|
ExtensionSystem::PluginManager *pm = ExtensionSystem::PluginManager::instance();
|
||||||
@ -231,14 +231,14 @@ void ConfigGadgetWidget::onAutopilotConnect()
|
|||||||
stackWidget->replaceTab(ConfigGadgetWidget::Hardware, widget);
|
stackWidget->replaceTab(ConfigGadgetWidget::Hardware, widget);
|
||||||
} else {
|
} else {
|
||||||
// Unknown board
|
// Unknown board
|
||||||
qDebug() << "Unknown board " << board;
|
qWarning() << "Unknown board " << board;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void ConfigGadgetWidget::onAutopilotDisconnect()
|
void ConfigGadgetWidget::onAutopilotDisconnect()
|
||||||
{
|
{
|
||||||
qDebug() << "ConfigGadgetWidget::onAutopilotDiconnect";
|
// qDebug() << "ConfigGadgetWidget::onAutopilotDiconnect";
|
||||||
QWidget *widget;
|
QWidget *widget;
|
||||||
|
|
||||||
widget = new DefaultConfigWidget(this, tr("Attitude"));
|
widget = new DefaultConfigWidget(this, tr("Attitude"));
|
||||||
@ -250,7 +250,7 @@ void ConfigGadgetWidget::onAutopilotDisconnect()
|
|||||||
|
|
||||||
void ConfigGadgetWidget::onOPLinkConnect()
|
void ConfigGadgetWidget::onOPLinkConnect()
|
||||||
{
|
{
|
||||||
qDebug() << "ConfigGadgetWidget::onOPLinkConnect";
|
// qDebug() << "ConfigGadgetWidget::onOPLinkConnect";
|
||||||
|
|
||||||
ConfigTaskWidget *widget = new ConfigOPLinkWidget(this);
|
ConfigTaskWidget *widget = new ConfigOPLinkWidget(this);
|
||||||
widget->bind();
|
widget->bind();
|
||||||
@ -259,7 +259,7 @@ void ConfigGadgetWidget::onOPLinkConnect()
|
|||||||
|
|
||||||
void ConfigGadgetWidget::onOPLinkDisconnect()
|
void ConfigGadgetWidget::onOPLinkDisconnect()
|
||||||
{
|
{
|
||||||
qDebug() << "ConfigGadgetWidget::onOPLinkDisconnect";
|
// qDebug() << "ConfigGadgetWidget::onOPLinkDisconnect";
|
||||||
|
|
||||||
QWidget *widget = new DefaultConfigWidget(this, tr("OPLink Configuration"));
|
QWidget *widget = new DefaultConfigWidget(this, tr("OPLink Configuration"));
|
||||||
stackWidget->replaceTab(ConfigGadgetWidget::OPLink, widget);
|
stackWidget->replaceTab(ConfigGadgetWidget::OPLink, widget);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user