Browse Source

Do not display debug info when tagCacheExists method works as expected.

This commit removed debug statements originally added in 261841d0
while developing the class.
Jean-Christophe Fillion-Robin 10 years ago
parent
commit
8fa1e3a207
1 changed files with 0 additions and 2 deletions
  1. 0 2
      Libs/DICOM/Core/ctkDICOMDatabase.cpp

+ 0 - 2
Libs/DICOM/Core/ctkDICOMDatabase.cpp

@@ -1629,7 +1629,6 @@ bool ctkDICOMDatabase::tagCacheExists()
   // try to open the database if it's not already open
   if ( !(d->TagCacheDatabase.isOpen()) )
     {
-    qDebug() << "TagCacheDatabase not open\n";
     d->TagCacheDatabase = QSqlDatabase::addDatabase("QSQLITE", d->Database.connectionName() + "TagCache");
     d->TagCacheDatabase.setDatabaseName(d->TagCacheDatabaseFilename);
     if ( !(d->TagCacheDatabase.open()) )
@@ -1652,7 +1651,6 @@ bool ctkDICOMDatabase::tagCacheExists()
   bool success = d->loggedExec(cacheExists);
   if (success)
     {
-    qDebug() << "TagCacheDatabase verified!\n";
     d->TagCacheVerified = true;
     return true;
     }