Revision 52:e0e12bd2978d common/Objects.cpp

View differences:

common/Objects.cpp
2 2

  
3 3
#include "Objects.h"
4 4

  
5
#include <dataquay/Debug.h>
5
//#include <dataquay/Debug.h>
6 6

  
7 7
#include <cstdlib>
8 8
#include <iostream>
......
274 274
        }
275 275
    }
276 276
    if (surnameMatch != "") {
277
        DEBUG << "namesFuzzyMatch: note: surnameMatch = " << surnameMatch << endl;
277
//        DEBUG << "namesFuzzyMatch: note: surnameMatch = " << surnameMatch << endl;
278 278
        if (matchCount > 1) {
279 279
            return true;
280 280
        } else {
281
            DEBUG << "(but not enough else matched)" << endl;
281
//            DEBUG << "(but not enough else matched)" << endl;
282 282
            return false;
283 283
        }
284 284
    }
......
838 838
        f.open(QIODevice::ReadOnly);
839 839
        //!!! stream this!
840 840
        QByteArray ba = f.readAll();
841
        m_hash = QString::fromAscii
841
        m_hash = QString::fromLatin1
842 842
            (QCryptographicHash::hash(ba, QCryptographicHash::Sha1).toHex());
843 843
    }
844 844
    QString location = source.getLocation();

Also available in: Unified diff