forked from qt-creator/qt-creator
Core: Rename ActionBuilder::setOn* to addOn*
There could be multiple connections. Change-Id: I7dbca9d24599f776b7d1f1bfa11826e3eeb5640a Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -58,7 +58,7 @@ void setupHaskellActions(QObject *guard)
|
||||
{
|
||||
ActionBuilder runGhci(guard, Haskell::Constants::A_RUN_GHCI);
|
||||
runGhci.setText(Tr::tr("Run GHCi"));
|
||||
runGhci.setOnTriggered(guard, [] {
|
||||
runGhci.addOnTriggered(guard, [] {
|
||||
if (IDocument *doc = EditorManager::currentDocument())
|
||||
openGhci(doc->filePath());
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user