CppTools: Fix warning of connects and execution of plugin unit test

Change-Id: I3057e3b198d566f57e991103c18ce077babcc4f0
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
Christian Stenger
2014-09-05 08:46:38 +02:00
committed by Erik Verbruggen
parent aba1d0a1cb
commit 9276e6a0c0
2 changed files with 6 additions and 0 deletions

View File

@@ -60,6 +60,8 @@
#include <sstream>
#endif
Q_DECLARE_METATYPE(QSet<QString>)
static const bool DumpProjectInfo = qgetenv("QTC_DUMP_PROJECT_INFO") == "1";
using namespace CppTools;
@@ -219,6 +221,7 @@ CppModelManager::CppModelManager(QObject *parent)
, m_indexingSupporter(0)
, m_enableGC(true)
{
qRegisterMetaType<QSet<QString> >();
connect(this, SIGNAL(documentUpdated(CPlusPlus::Document::Ptr)),
this, SIGNAL(globalSnapshotChanged()));
connect(this, SIGNAL(aboutToRemoveFiles(QStringList)),