changeset 120:e388730429b5

* Make mp3 file importer read the file, instead of mmapping it (for portability)
author Chris Cannam
date Mon, 22 May 2006 10:46:43 +0000
parents fda016f64f7c
children 7c3e1bc51080
files base/View.cpp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);
     }