Fixed QAction to support older versions of Qt

This commit is contained in:
Jordan Sherer 2018-09-10 10:22:24 -04:00
parent 4ca8ac338e
commit 418e071a8d

View File

@ -7831,7 +7831,7 @@ void MainWindow::buildRelayMenu(QMenu *menu){
}
QAction* MainWindow::buildRelayAction(QString call){
QAction *a = new QAction(call);
QAction *a = new QAction(call, nullptr);
connect(a, &QAction::triggered, this, [this, call](){
prependMessageText(QString("%1>").arg(call));
});