Commit 29c9afb3 authored by Don Gagne's avatar Don Gagne

Merge pull request #2783 from DonLakeFlyer/ConnectSlot

Fix bad connection
parents 427ad724 660272a4
......@@ -41,7 +41,7 @@ UASQuickView::UASQuickView(QWidget *parent) : QWidget(parent),
QAction *action = new QAction("Add/Remove Items",this);
action->setCheckable(false);
connect(action,&QAction::triggered,this, static_cast<void (UASQuickView::*)(bool)>(&UASQuickView::actionTriggered));
connect(action,&QAction::triggered,this, &UASQuickView::addActionTriggered);
this->addAction(action);
QAction *columnaction = new QAction("Set Column Count",this);
......@@ -75,7 +75,7 @@ void UASQuickView::columnActionTriggered()
saveSettings();
}
void UASQuickView::actionTriggered()
void UASQuickView::addActionTriggered()
{
if (quickViewSelectDialog)
{
......
......@@ -61,7 +61,7 @@ signals:
public slots:
void valueChanged(const int uasid, const QString& name, const QString& unit, const QVariant& value,const quint64 msecs);
void actionTriggered(bool checked);
void actionTriggered();
void addActionTriggered();
void updateTimerTick();
void selectDialogClosed();
void valueEnabled(QString value);
......
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