Mercurial > hg > svgui
diff layer/TextLayer.cpp @ 248:28c8e8e3c537
* Fix many compile warnings, remove some debug output
author | Chris Cannam |
---|---|
date | Mon, 30 Apr 2007 13:36:23 +0000 |
parents | 34bbbcb3c01f |
children | e175ade2d6b0 |
line wrap: on
line diff
--- a/layer/TextLayer.cpp Mon Apr 30 09:07:08 2007 +0000 +++ b/layer/TextLayer.cpp Mon Apr 30 13:36:23 2007 +0000 @@ -75,7 +75,7 @@ } Layer::PropertyType -TextLayer::getPropertyType(const PropertyName &name) const +TextLayer::getPropertyType(const PropertyName &) const { return ValueProperty; } @@ -144,8 +144,7 @@ } bool -TextLayer::getValueExtents(float &min, float &max, - bool &logarithmic, QString &unit) const +TextLayer::getValueExtents(float &, float &, bool &, QString &) const { return false; } @@ -490,7 +489,7 @@ } void -TextLayer::drawEnd(View *v, QMouseEvent *e) +TextLayer::drawEnd(View *v, QMouseEvent *) { // std::cerr << "TextLayer::drawEnd(" << e->x() << "," << e->y() << ")" << std::endl; if (!m_model || !m_editing) return; @@ -561,7 +560,7 @@ } void -TextLayer::editEnd(View *v, QMouseEvent *e) +TextLayer::editEnd(View *, QMouseEvent *) { // std::cerr << "TextLayer::editEnd(" << e->x() << "," << e->y() << ")" << std::endl; if (!m_model || !m_editing) return; @@ -707,7 +706,7 @@ } bool -TextLayer::paste(const Clipboard &from, int frameOffset, bool interactive) +TextLayer::paste(const Clipboard &from, int frameOffset, bool /* interactive */) { if (!m_model) return false;