Mercurial > hg > svgui
comparison widgets/ActivityLog.cpp @ 682:1a0dfcbffaf1
Drop std:: from cout, cerr, endl -- pull these in through Debug.h
author | Chris Cannam |
---|---|
date | Tue, 26 Nov 2013 14:06:40 +0000 |
parents | 4806715f7a19 |
children | 34c1203d21b5 |
comparison
equal
deleted
inserted
replaced
681:eaf4446a1bef | 682:1a0dfcbffaf1 |
---|---|
53 ActivityLog::activityHappened(QString name) | 53 ActivityLog::activityHappened(QString name) |
54 { | 54 { |
55 name = name.replace("&", ""); | 55 name = name.replace("&", ""); |
56 // SVDEBUG << "ActivityLog::activityHappened(" << name << ")" << endl; | 56 // SVDEBUG << "ActivityLog::activityHappened(" << name << ")" << endl; |
57 if (name == m_prevName) { | 57 if (name == m_prevName) { |
58 // std::cerr << "(ignoring duplicate)" << std::endl; | 58 // cerr << "(ignoring duplicate)" << 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); |