Commit 660272a4 authored by Don Gagne's avatar Don Gagne

Fix bad connection

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