Fixed QAction to support older versions of Qt
This commit is contained in:
		
							parent
							
								
									4ca8ac338e
								
							
						
					
					
						commit
						418e071a8d
					
				| @ -7831,7 +7831,7 @@ void MainWindow::buildRelayMenu(QMenu *menu){ | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| QAction* MainWindow::buildRelayAction(QString call){ | QAction* MainWindow::buildRelayAction(QString call){ | ||||||
|     QAction *a = new QAction(call); |     QAction *a = new QAction(call, nullptr); | ||||||
|     connect(a, &QAction::triggered, this, [this, call](){ |     connect(a, &QAction::triggered, this, [this, call](){ | ||||||
|         prependMessageText(QString("%1>").arg(call)); |         prependMessageText(QString("%1>").arg(call)); | ||||||
|     }); |     }); | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Jordan Sherer
						Jordan Sherer