# HG changeset patch # User Chris Cannam # Date 1148294803 0 # Node ID e388730429b59a489592312af19cb113e3d5a287 # Parent fda016f64f7cec6818fe821a010997e7b65d6838 * Make mp3 file importer read the file, instead of mmapping it (for portability) diff -r fda016f64f7c -r e388730429b5 base/View.cpp --- a/base/View.cpp Tue May 16 11:48:12 2006 +0000 +++ b/base/View.cpp Mon May 22 10:46:43 2006 +0000 @@ -1084,7 +1084,7 @@ void View::paintEvent(QPaintEvent *e) { -// Profiler prof("View::paintEvent", true); +// Profiler prof("View::paintEvent", false); // std::cerr << "View::paintEvent" << std::endl; if (m_layers.empty()) { @@ -1315,6 +1315,7 @@ paint.setBrush(Qt::NoBrush); for (LayerList::iterator i = nonScrollables.begin(); i != nonScrollables.end(); ++i) { +// Profiler profiler2("View::paintEvent non-cacheable"); (*i)->paint(this, paint, nonCacheRect); }