Switch from __PRETTY_FUNCTION__ to qSetMessagePattern()

This commit is contained in:
Ernie Pasveer
2022-01-20 10:40:56 -06:00
parent b5b292fbed
commit 1afdf82f91
30 changed files with 194 additions and 173 deletions
+4 -4
View File
@@ -18,7 +18,7 @@ void SeerEditorWidgetMiniMapArea::mouseDoubleClickEvent (QMouseEvent* event) {
QTextCursor cursor = _editorWidget->cursorForPosition(event->pos());
qDebug() << __PRETTY_FUNCTION__ << ":" << cursor.blockNumber()+1;
qDebug() << cursor.blockNumber()+1;
QWidget::mouseDoubleClickEvent(event);
}
@@ -27,7 +27,7 @@ void SeerEditorWidgetMiniMapArea::mouseMoveEvent (QMouseEvent* event) {
QTextCursor cursor = _editorWidget->cursorForPosition(event->pos());
qDebug() << __PRETTY_FUNCTION__ << ":" << cursor.blockNumber()+1;
qDebug() << cursor.blockNumber()+1;
QWidget::mouseMoveEvent(event);
}
@@ -36,7 +36,7 @@ void SeerEditorWidgetMiniMapArea::mousePressEvent (QMouseEvent* event) {
QTextCursor cursor = _editorWidget->cursorForPosition(event->pos());
qDebug() << __PRETTY_FUNCTION__ << ":" << cursor.blockNumber()+1;
qDebug() << cursor.blockNumber()+1;
QWidget::mousePressEvent(event);
}
@@ -45,7 +45,7 @@ void SeerEditorWidgetMiniMapArea::mouseReleaseEvent (QMouseEvent* event) {
QTextCursor cursor = _editorWidget->cursorForPosition(event->pos());
qDebug() << __PRETTY_FUNCTION__ << ":" << cursor.blockNumber()+1;
qDebug() << cursor.blockNumber()+1;
QWidget::mouseReleaseEvent(event);
}