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:
hjk
2023-12-13 12:29:46 +01:00
parent 3b7d29d2a1
commit b442ca3873
28 changed files with 158 additions and 158 deletions

View File

@@ -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());
});