From 37f450fd95f02294b98e865f1521776db520c8f4 Mon Sep 17 00:00:00 2001 From: Mark Long Date: Mon, 10 Oct 2016 17:24:41 -0500 Subject: [PATCH] Removed some extraneous qDebugs --- src/ui/viewers/charsetviewer.cpp | 2 -- src/ui/widgets/characterwidget.cpp | 5 ----- src/util/charset.cpp | 4 ---- 3 files changed, 11 deletions(-) diff --git a/src/ui/viewers/charsetviewer.cpp b/src/ui/viewers/charsetviewer.cpp index 19555b5..d65833f 100644 --- a/src/ui/viewers/charsetviewer.cpp +++ b/src/ui/viewers/charsetviewer.cpp @@ -1,6 +1,5 @@ #include "charsetviewer.h" -#include CharSetViewer::CharSetViewer(QWidget *parent) : QWidget(parent) { @@ -23,7 +22,6 @@ void CharSetViewer::setFile(BinaryFile *file) int ypos = 0; foreach (CharSetCharacter csc, m_charset.allCharacters()) { - qDebug() << "CSC: " << csc.asciiVal(); CharacterWidget *cw = new CharacterWidget(this,csc,4); cw->showGrid(true); cw->enableBitShift(true); diff --git a/src/ui/widgets/characterwidget.cpp b/src/ui/widgets/characterwidget.cpp index c333bd0..05631a5 100644 --- a/src/ui/widgets/characterwidget.cpp +++ b/src/ui/widgets/characterwidget.cpp @@ -4,7 +4,6 @@ #include #include #include -#include CharacterWidget::CharacterWidget(QWidget *parent, CharSetCharacter ch, int scale) : QWidget(parent), m_character(ch), m_scale(scale) @@ -26,7 +25,6 @@ CharacterWidget::CharacterWidget(QWidget *parent, CharSetCharacter ch, int scale void CharacterWidget::doRepaint() { - qDebug() << "doRepaint() begin"; m_pixmap.fill(m_bgcolor); QPainter painter(&m_pixmap); @@ -34,7 +32,6 @@ void CharacterWidget::doRepaint() painter.setBrush(m_fgcolor); QByteArray chardata = m_character.data(); - qDebug() << chardata; for (quint8 yval = 0; yval < 8; yval++) { @@ -51,7 +48,6 @@ void CharacterWidget::doRepaint() bits.setBit(5,(line & 0x20)); bits.setBit(6,(line & 0x40)); - qDebug() << "Bits: " << bits; int shiftval = 0; painter.setBrush(m_fgcolor); if (m_dobitshift && (line & 0x80)) { @@ -91,7 +87,6 @@ void CharacterWidget::doRepaint() } repaint(); - qDebug() << "end"; } void CharacterWidget::paintEvent(QPaintEvent *) diff --git a/src/util/charset.cpp b/src/util/charset.cpp index d34e24a..36f1dc9 100644 --- a/src/util/charset.cpp +++ b/src/util/charset.cpp @@ -1,5 +1,4 @@ #include "charset.h" -#include CharSetCharacter::CharSetCharacter(quint8 asciival, QByteArray bytes) @@ -35,12 +34,10 @@ void CharacterSet::buildSetFromSetBlob(QByteArray data) qWarning("Unexpected character set size: %d (not 768). Resizing.",data.size()); data.resize(768); } -qDebug() << "BuildSet: " << data; int val = 32; for (int idx = 0; idx < 768; idx+=8) { QByteArray ch = data.mid(idx,8); - qDebug() << "Added character " << idx / 8 << "Data: " << ch; CharSetCharacter csc = CharSetCharacter(val,ch); m_charmap.insert(val,csc); @@ -50,7 +47,6 @@ qDebug() << "BuildSet: " << data; QList CharacterSet::allCharacters() const { - qDebug() << "allCharacters: " << m_charmap.values().count(); return m_charmap.values();