]> sigrok.org Git - pulseview.git/blobdiff - pv/view/viewitem.cpp
TraceView: Center traces more than once
[pulseview.git] / pv / view / viewitem.cpp
index e9602f8790ddcec61767509cd694524cbd3d8cd6..05e14164b338b145160e981fbd395f736d7a6eee 100644 (file)
@@ -14,8 +14,7 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
 #include "viewitem.hpp"
@@ -27,7 +26,8 @@
 #include <QPalette>
 
 namespace pv {
-namespace view {
+namespace views {
+namespace TraceView {
 
 const QSizeF ViewItem::LabelPadding(4, 0);
 const int ViewItem::HighlightRadius = 3;
@@ -135,5 +135,6 @@ QColor ViewItem::select_text_colour(QColor background)
        return (background.lightness() > 110) ? Qt::black : Qt::white;
 }
 
-} // namespace view
+} // namespace TraceView
+} // namespace views
 } // namespace pv