# HG changeset patch # User matthiasm # Date 1402519418 -3600 # Node ID 488add397d34e6944f87a625689bbba5bffb5cf3 # Parent 3a52b458fcd5f853c27814f37c1d56f05cfb0dbc added vertical strip stripes to beginning and end of illuminated note diff -r 3a52b458fcd5 -r 488add397d34 layer/FlexiNoteLayer.cpp --- a/layer/FlexiNoteLayer.cpp Wed Jun 11 19:41:29 2014 +0100 +++ b/layer/FlexiNoteLayer.cpp Wed Jun 11 21:43:38 2014 +0100 @@ -1476,12 +1476,6 @@ v->setCursor(Qt::ArrowCursor); - // QPainter paint; - // paint.begin(m_pan); - // QRect r(rect()); - // paint(v, paint, r); - // paint.end(this); - std::cerr << "Mouse moved in edit mode over FlexiNoteLayer" << std::endl; // v->setCursor(Qt::SizeHorCursor); diff -r 3a52b458fcd5 -r 488add397d34 view/Pane.cpp --- a/view/Pane.cpp Wed Jun 11 19:41:29 2014 +0100 +++ b/view/Pane.cpp Wed Jun 11 21:43:38 2014 +0100 @@ -1590,7 +1590,8 @@ FlexiNoteLayer *layer = qobject_cast(getTopFlexiNoteLayer()); if (layer) { layer->mouseMoveEvent(this, e); //!!! ew - return; + update(); + // return; } } diff -r 3a52b458fcd5 -r 488add397d34 view/View.cpp --- a/view/View.cpp Wed Jun 11 19:41:29 2014 +0100 +++ b/view/View.cpp Wed Jun 11 21:43:38 2014 +0100 @@ -1563,7 +1563,7 @@ { // Profiler prof("View::paintEvent", false); // SVDEBUG << "View::paintEvent: centre frame is " << m_centreFrame << endl; - // cerr << "View::paintEvent: centre frame is " << m_centreFrame << endl; + if (m_layers.empty()) { QFrame::paintEvent(e); return;