comparison widgets/ActivityLog.cpp @ 524:7e180ec7773c

* various minor bits
author Chris Cannam
date Mon, 16 Mar 2009 16:36:23 +0000
parents 33572f3ad62b
children 1fe7951a61e8
comparison
equal deleted inserted replaced
523:a72ab757b73b 524:7e180ec7773c
51 51
52 void 52 void
53 ActivityLog::activityHappened(QString name) 53 ActivityLog::activityHappened(QString name)
54 { 54 {
55 name = name.replace("&", ""); 55 name = name.replace("&", "");
56 std::cerr << "ActivityLog::activityHappened(" << name.toStdString() << ")" << std::endl; 56 // std::cerr << "ActivityLog::activityHappened(" << name.toStdString() << ")" << std::endl;
57 if (name == m_prevName) { 57 if (name == m_prevName) {
58 std::cerr << "(ignoring duplicate)" << std::endl; 58 // std::cerr << "(ignoring duplicate)" << std::endl;
59 return; 59 return;
60 } 60 }
61 m_prevName = name; 61 m_prevName = name;
62 int row = m_model->rowCount(); 62 int row = m_model->rowCount();
63 name = tr("%1: %2").arg(QTime::currentTime().toString()).arg(name); 63 name = tr("%1: %2").arg(QTime::currentTime().toString()).arg(name);