mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-15 21:01:45 -05:00
Fix compilation and link under Linux
This commit is contained in:
parent
13db9f4d1a
commit
a27226fa06
@ -17,6 +17,7 @@
|
|||||||
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
|
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
|
||||||
///////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
#define BOOST_CHRONO_HEADER_ONLY
|
||||||
#include <boost/chrono/chrono.hpp>
|
#include <boost/chrono/chrono.hpp>
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -1605,7 +1605,8 @@ ADSBDemodGUI::ADSBDemodGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, Baseb
|
|||||||
menu = new QMenu(ui->adsbData);
|
menu = new QMenu(ui->adsbData);
|
||||||
for (int i = 0; i < ui->adsbData->horizontalHeader()->count(); i++)
|
for (int i = 0; i < ui->adsbData->horizontalHeader()->count(); i++)
|
||||||
{
|
{
|
||||||
menu->addAction(createCheckableItem(ui->adsbData->horizontalHeaderItem(i)->text(), i, true));
|
QString text = ui->adsbData->horizontalHeaderItem(i)->text();
|
||||||
|
menu->addAction(createCheckableItem(text, i, true));
|
||||||
}
|
}
|
||||||
ui->adsbData->horizontalHeader()->setContextMenuPolicy(Qt::CustomContextMenu);
|
ui->adsbData->horizontalHeader()->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||||
connect(ui->adsbData->horizontalHeader(), SIGNAL(customContextMenuRequested(QPoint)), SLOT(columnSelectMenu(QPoint)));
|
connect(ui->adsbData->horizontalHeader(), SIGNAL(customContextMenuRequested(QPoint)), SLOT(columnSelectMenu(QPoint)));
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
|
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
|
||||||
///////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
#define BOOST_CHRONO_HEADER_ONLY
|
||||||
#include <boost/chrono/chrono.hpp>
|
#include <boost/chrono/chrono.hpp>
|
||||||
|
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
Loading…
Reference in New Issue
Block a user