From 418e071a8d2c647bac4a816099d233ff845e0c71 Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Mon, 10 Sep 2018 10:22:24 -0400 Subject: [PATCH] Fixed QAction to support older versions of Qt --- mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 3b083a3..6f0f5e3 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -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)); });