diff options
Diffstat (limited to 'kdbg/sourcewnd.cpp')
-rw-r--r-- | kdbg/sourcewnd.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kdbg/sourcewnd.cpp b/kdbg/sourcewnd.cpp index 8d0699c..bf8558a 100644 --- a/kdbg/sourcewnd.cpp +++ b/kdbg/sourcewnd.cpp @@ -251,7 +251,7 @@ void SourceWindow::updateLineItems(const KDebugger* dbg) if (m_lineItems[i] & liBPany) { // check if this breakpoint still exists int line = rowToLine(i); - TRACE(TQString().sprintf("checking for bp at %d", line)); + TRACE(TQString("checking for bp at %1").arg(line)); KDebugger::BrkptROIterator bp = dbg->breakpointsBegin(); for (; bp != dbg->breakpointsEnd(); ++bp) { @@ -275,7 +275,7 @@ void SourceWindow::updateLineItems(const KDebugger* dbg) for (KDebugger::BrkptROIterator bp = dbg->breakpointsBegin(); bp != dbg->breakpointsEnd(); ++bp) { if (fileNameMatches(bp->fileName)) { - TRACE(TQString().sprintf("updating %s:%d", bp->fileName, bp->lineNo)); + TRACE(TQString("updating %1:%2").arg(bp->fileName).arg(bp->lineNo)); int i = bp->lineNo; if (i < 0 || i >= int(m_sourceCode.size())) continue; @@ -370,12 +370,12 @@ void SourceWindow::mousePressEvent(TQMouseEvent* ev) switch (ev->button()) { case LeftButton: - TRACE(TQString().sprintf("left-clicked line %d", line)); + TRACE(TQString("left-clicked line %1").arg(line)); emit clickedLeft(m_fileName, line, address, (ev->state() & ShiftButton) != 0); break; case MidButton: - TRACE(TQString().sprintf("mid-clicked row %d", line)); + TRACE(TQString("mid-clicked row %1").arg(line)); emit clickedMid(m_fileName, line, address); break; default:; |