From 9b36f12b81abded7f87b3e4fb90ba4245ed15d7a Mon Sep 17 00:00:00 2001 From: Tobias Hunger <tobias.hunger@nokia.com> Date: Fri, 8 Apr 2011 16:40:27 +0200 Subject: [PATCH] Remove debug code --- src/plugins/coreplugin/vcsmanager.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/plugins/coreplugin/vcsmanager.cpp b/src/plugins/coreplugin/vcsmanager.cpp index 74bb82ef0ac..c99bd695833 100644 --- a/src/plugins/coreplugin/vcsmanager.cpp +++ b/src/plugins/coreplugin/vcsmanager.cpp @@ -44,12 +44,9 @@ #include <QtCore/QMap> #include <QtCore/QCoreApplication> -#include <QtCore/QDebug> #include <QtCore/QFileInfo> #include <QtGui/QMessageBox> -enum { debug = 0 }; - namespace Core { typedef QList<IVersionControl *> VersionControlList; @@ -115,7 +112,6 @@ public: { Q_ASSERT(directory.startsWith(topLevel)); - qDebug() << "New cache entries:" << vc->displayName() << topLevel << directory; VcsInfo *newInfo = new VcsInfo(vc, topLevel); bool createdNewInfo(true); // Do we have a matching VcsInfo already? @@ -178,11 +174,8 @@ IVersionControl* VcsManager::findVersionControlForDirectory(const QString &direc if (directory.isEmpty()) return 0; - qDebug() << "Searching Vcs for:" << directory; - VcsManagerPrivate::VcsInfo * cachedData = m_d->findUpInCache(directory); if (cachedData) { - qDebug() << "Found in Cache:" << cachedData->versionControl->displayName() << cachedData->topLevel; if (topLevelDirectory) *topLevelDirectory = cachedData->topLevel; return cachedData->versionControl; -- GitLab