diff options
author | Michele Calgaro <[email protected]> | 2025-01-22 18:11:56 +0900 |
---|---|---|
committer | TDE Gitea <[email protected]> | 2025-02-03 14:04:22 +0000 |
commit | f44cabe8c88eec154ea9a457b749c5fcd9bed4c3 (patch) | |
tree | bca8f3c429d932cb22fb4fe93edb35335f28717c /src/gui/editors/notation/FontViewFrame.cpp | |
parent | 06042c0471231bf41b46d4a8744393137beac468 (diff) | |
download | rosegarden-f44cabe8c88eec154ea9a457b749c5fcd9bed4c3.tar.gz rosegarden-f44cabe8c88eec154ea9a457b749c5fcd9bed4c3.zip |
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/gui/editors/notation/FontViewFrame.cpp')
-rw-r--r-- | src/gui/editors/notation/FontViewFrame.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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)); |