mirror of
https://github.com/epasveer/seer.git
synced 2026-08-31 01:20:45 +08:00
Switch from __PRETTY_FUNCTION__ to qSetMessagePattern()
This commit is contained in:
@@ -89,7 +89,7 @@ void SeerArrayVisualizerWidget::setVariableAddress (const QString& address) {
|
||||
offset = 0;
|
||||
}
|
||||
|
||||
//qDebug() << __PRETTY_FUNCTION__ << ":" << address << offset << ok;
|
||||
//qDebug() << address << offset << ok;
|
||||
|
||||
memoryHexEditor->setAddressOffset(offset);
|
||||
}
|
||||
@@ -100,7 +100,7 @@ QString SeerArrayVisualizerWidget::variableAddress () const {
|
||||
|
||||
void SeerArrayVisualizerWidget::handleText (const QString& text) {
|
||||
|
||||
//qDebug() << __PRETTY_FUNCTION__ << ":" << text;
|
||||
//qDebug() << text;
|
||||
|
||||
if (text.contains(QRegExp("^([0-9]+)\\^done,value="))) {
|
||||
|
||||
@@ -125,7 +125,7 @@ void SeerArrayVisualizerWidget::handleText (const QString& text) {
|
||||
|
||||
if (id_text.toInt() == _memoryId) {
|
||||
|
||||
//qDebug() << __PRETTY_FUNCTION__ << ":" << text;
|
||||
//qDebug() << text;
|
||||
|
||||
QString memory_text = Seer::parseFirst(text, "memory=", '[', ']', false);
|
||||
|
||||
@@ -136,7 +136,7 @@ void SeerArrayVisualizerWidget::handleText (const QString& text) {
|
||||
|
||||
QString contents_text = Seer::parseFirst(range_text, "contents=", '"', '"', false);
|
||||
|
||||
//qDebug() << __PRETTY_FUNCTION__ << ":" << contents_text;
|
||||
//qDebug() << contents_text;
|
||||
|
||||
// Convert hex string to byte array.
|
||||
QByteArray array;
|
||||
@@ -291,7 +291,7 @@ void SeerArrayVisualizerWidget::writeSettings() {
|
||||
settings.setValue("size", size());
|
||||
settings.endGroup();
|
||||
|
||||
//qDebug() << __PRETTY_FUNCTION__ << ":" << size();
|
||||
//qDebug() << size();
|
||||
}
|
||||
|
||||
void SeerArrayVisualizerWidget::readSettings() {
|
||||
@@ -302,7 +302,7 @@ void SeerArrayVisualizerWidget::readSettings() {
|
||||
resize(settings.value("size", QSize(800, 400)).toSize());
|
||||
settings.endGroup();
|
||||
|
||||
//qDebug() << __PRETTY_FUNCTION__ << ":" << size();
|
||||
//qDebug() << size();
|
||||
}
|
||||
|
||||
void SeerArrayVisualizerWidget::resizeEvent (QResizeEvent* event) {
|
||||
|
||||
Reference in New Issue
Block a user