From f44cabe8c88eec154ea9a457b749c5fcd9bed4c3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 22 Jan 2025 18:11:56 +0900 Subject: Use tdeApp Signed-off-by: Michele Calgaro --- src/gui/editors/notation/FontViewFrame.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/editors/notation/FontViewFrame.cpp') diff --git a/src/gui/editors/notation/FontViewFrame.cpp b/src/gui/editors/notation/FontViewFrame.cpp index febb5ce..7aa7a28 100644 --- a/src/gui/editors/notation/FontViewFrame.cpp +++ b/src/gui/editors/notation/FontViewFrame.cpp @@ -182,8 +182,8 @@ void FontViewFrame::paintEvent( TQPaintEvent* e ) if (i == 0) { if (j == 0) continue; - p.setFont(kapp->font()); - TQFontMetrics afm(kapp->font()); + p.setFont(tdeApp->font()); + TQFontMetrics afm(tdeApp->font()); TQString s = TQString("%1").arg(m_row * 256 + (j - 1) * 16); p.drawText(x - afm.width(s), y, s); p.setPen(TQColor(190, 190, 255)); @@ -191,7 +191,7 @@ void FontViewFrame::paintEvent( TQPaintEvent* e ) p.setPen(TQt::black); continue; } else if (j == 0) { - p.setFont(kapp->font()); + p.setFont(tdeApp->font()); TQString s = TQString("%1").arg(i - 1); p.drawText(x, y, s); p.setPen(TQColor(190, 190, 255)); -- cgit v1.2.1