X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fuisupport%2Factioncollection.h;h=fa1ef24cef0f22528df70883dc7a5f167dc46157;hb=900cce213a6ed000b7131a05a0dec7d04b35b023;hp=d26c3577c3ba96d6fa2a55aa33e778159d9c7f26;hpb=c194ed5fb3d15e14b9364f9796d3521910dc72fe;p=quassel.git diff --git a/src/uisupport/actioncollection.h b/src/uisupport/actioncollection.h index d26c3577..fa1ef24c 100644 --- a/src/uisupport/actioncollection.h +++ b/src/uisupport/actioncollection.h @@ -82,7 +82,7 @@ public: template ActionType *add(const QString &name, const QObject *receiver = nullptr, const char *member = nullptr) { - ActionType *a = new ActionType(this); + auto *a = new ActionType(this); if (receiver && member) connect(a, SIGNAL(triggered(bool)), receiver, member); addAction(name, a);