@@ -472,20 +472,17 @@ void DebugStackWidget::copy()
472472 continue ;
473473
474474 DebugStackItem item = m_model->getRow (row);
475-
475+
476476 // Format: Offset Address Value Hint
477477 QString offsetStr;
478478 ptrdiff_t offset = item.offset ();
479479 if (offset < 0 )
480480 offsetStr = QString::asprintf (" -0x%" PRIx64, (uint64_t )-offset);
481481 else
482482 offsetStr = QString::asprintf (" 0x%" PRIx64, (uint64_t )offset);
483-
484- text += QString::asprintf (" %s 0x%" PRIx64 " 0x%" PRIx64 " %s" ,
485- offsetStr.toStdString ().c_str (),
486- item.address (),
487- item.value (),
488- item.hint ().c_str ());
483+
484+ text += QString::asprintf (" %s 0x%" PRIx64 " 0x%" PRIx64 " %s" , offsetStr.toStdString ().c_str (), item.address (),
485+ item.value (), item.hint ().c_str ());
489486 }
490487
491488 auto * clipboard = QGuiApplication::clipboard ();
@@ -500,27 +497,24 @@ void DebugStackWidget::copyAll()
500497{
501498 QString text;
502499 int rowCount = m_model->rowCount ();
503-
500+
504501 for (int row = 0 ; row < rowCount; row++)
505502 {
506503 if (row > 0 )
507504 text += " \n " ;
508505
509506 DebugStackItem item = m_model->getRow (row);
510-
507+
511508 // Format: Offset Address Value Hint
512509 QString offsetStr;
513510 ptrdiff_t offset = item.offset ();
514511 if (offset < 0 )
515512 offsetStr = QString::asprintf (" -0x%" PRIx64, (uint64_t )-offset);
516513 else
517514 offsetStr = QString::asprintf (" 0x%" PRIx64, (uint64_t )offset);
518-
519- text += QString::asprintf (" %s 0x%" PRIx64 " 0x%" PRIx64 " %s" ,
520- offsetStr.toStdString ().c_str (),
521- item.address (),
522- item.value (),
523- item.hint ().c_str ());
515+
516+ text += QString::asprintf (" %s 0x%" PRIx64 " 0x%" PRIx64 " %s" , offsetStr.toStdString ().c_str (), item.address (),
517+ item.value (), item.hint ().c_str ());
524518 }
525519
526520 auto * clipboard = QGuiApplication::clipboard ();
@@ -531,10 +525,10 @@ void DebugStackWidget::copyAll()
531525}
532526
533527
534- // void DebugStackWidget::notifyFontChanged()
528+ // void DebugStackWidget::notifyFontChanged()
535529// {
536- // m_delegate->updateFonts();
537- // }
530+ // m_delegate->updateFonts();
531+ // }
538532
539533
540534void DebugStackWidget::updateContent ()
0 commit comments