summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/notation
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-26 21:02:27 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-03-28 09:17:43 +0900
commitc811c531ffe77ce9f94db1031a79aa1bea76d94e (patch)
treef45387e87a60a49f3667ad704cf154f25280a23a /src/gui/editors/notation
parent9be11f74a7ca312c6b2c6ec04bb662b9ebabafc1 (diff)
downloadrosegarden-c811c531.tar.gz
rosegarden-c811c531.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 2dd4d59787dcca2aa6682c89b8a02ea392175c39)
Diffstat (limited to 'src/gui/editors/notation')
-rw-r--r--src/gui/editors/notation/NoteFont.cpp2
-rw-r--r--src/gui/editors/notation/SystemFont.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/editors/notation/NoteFont.cpp b/src/gui/editors/notation/NoteFont.cpp
index 60157ca..091d733 100644
--- a/src/gui/editors/notation/NoteFont.cpp
+++ b/src/gui/editors/notation/NoteFont.cpp
@@ -78,7 +78,7 @@ NoteFont::NoteFont(std::string fontName, int size) :
if (m_blankPixmap == 0) {
m_blankPixmap = new TQPixmap(10, 10);
- m_blankPixmap->setMask(TQBitmap(10, 10, TRUE));
+ m_blankPixmap->setMask(TQBitmap(10, 10, true));
}
// Locate our font's pixmap map in the font map, create if necessary
diff --git a/src/gui/editors/notation/SystemFont.cpp b/src/gui/editors/notation/SystemFont.cpp
index e1eb548..2e271e3 100644
--- a/src/gui/editors/notation/SystemFont.cpp
+++ b/src/gui/editors/notation/SystemFont.cpp
@@ -135,8 +135,8 @@ qfont:
// The TQt documentation says:
//
// bool TQFontInfo::exactMatch() const
- // Returns TRUE if the matched window system font is exactly the
- // same as the one specified by the font; otherwise returns FALSE.
+ // Returns true if the matched window system font is exactly the
+ // same as the one specified by the font; otherwise returns false.
//
// My arse. I specify "feta", I get "Verdana", and exactMatch
// returns true. Uh huh.