From 33f65768690bd399abf8a95466945be0b87b4532 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Fri, 4 Nov 2011 12:06:22 +0100 Subject: [PATCH] Fix warnings about slot. Introduced by 46e912ad24f472178563deedb97840d11d78c6b0. Change-Id: I0c037c52fe4d39df1306df19bbe7686415ee959a Reviewed-by: Daniel Teske --- src/plugins/projectexplorer/appoutputpane.h | 2 +- src/plugins/projectexplorer/projectexplorer.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/appoutputpane.h b/src/plugins/projectexplorer/appoutputpane.h index 968aec6e6d..2cb3f2ee0e 100644 --- a/src/plugins/projectexplorer/appoutputpane.h +++ b/src/plugins/projectexplorer/appoutputpane.h @@ -107,7 +107,7 @@ private slots: void contextMenuRequested(const QPoint &pos, int index); void slotRunControlStarted(); void slotRunControlFinished(); - void slotRunControlFinished2(RunControl *sender); + void slotRunControlFinished2(ProjectExplorer::RunControl *sender); void aboutToUnloadSession(); void updateFromSettings(); diff --git a/src/plugins/projectexplorer/projectexplorer.cpp b/src/plugins/projectexplorer/projectexplorer.cpp index 478754fc17..3b0aaeb71d 100644 --- a/src/plugins/projectexplorer/projectexplorer.cpp +++ b/src/plugins/projectexplorer/projectexplorer.cpp @@ -304,6 +304,8 @@ bool ProjectExplorerPlugin::parseArguments(const QStringList &arguments, QString bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *error) { + qRegisterMetaType(); + if (!parseArguments(arguments, error)) return false; addObject(this); -- GitLab