Commit 5477fd74 authored by Bryan Godbolt's avatar Bryan Godbolt

set groupbox title for opallink, protected by ifdef OPAL_RT

parent bedd4304
......@@ -101,6 +101,12 @@ CommConfigurationWindow::CommConfigurationWindow(LinkInterface* link, ProtocolIn
{
ui.linkGroupBox->setTitle(tr("udp link"));
}
#ifdef OPAL_RT
else if (dynamic_cast<OpalLink*>(link) != 0)
{
ui.linkGroupBox->setTitle(tr("Opal-RT Link"));
}
#endif
else
{
qDebug() << "Link is NOT a known link, can't open configuration window";
......
......@@ -40,6 +40,10 @@ This file is part of the PIXHAWK project
#include "ProtocolInterface.h"
#include "ui_CommSettings.h"
#ifdef OPAL_RT
#include "OpalLink.h"
#endif
class CommConfigurationWindow : public QWidget
{
Q_OBJECT
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment