diff --git a/RedPandaIDE/widgets/linenumbertexteditor.cpp b/RedPandaIDE/widgets/linenumbertexteditor.cpp index c7362df4..0760b840 100644 --- a/RedPandaIDE/widgets/linenumbertexteditor.cpp +++ b/RedPandaIDE/widgets/linenumbertexteditor.cpp @@ -197,7 +197,7 @@ void LineNumberTextEditor::lineNumberAreaPaintEvent(QPaintEvent *event) painter.setPen(mLineNumberAreaCurrentLine); else painter.setPen(mLineNumberAreaForeground); - int y=top+std::max(0,bottom-top-fontMetrics().lineSpacing()); + // int y=top+std::max(0,bottom-top-fontMetrics().lineSpacing()); painter.drawText(5, top, lineNumberArea->width()-10, fontMetrics().height(), Qt::AlignRight, number); }