summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/notation/NotationStaff.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-01-22 18:11:56 +0900
committerTDE Gitea <gitea@mirror.git.trinitydesktop.org>2025-02-03 14:04:22 +0000
commitf44cabe8c88eec154ea9a457b749c5fcd9bed4c3 (patch)
treebca8f3c429d932cb22fb4fe93edb35335f28717c /src/gui/editors/notation/NotationStaff.cpp
parent06042c0471231bf41b46d4a8744393137beac468 (diff)
downloadrosegarden-f44cabe8c88eec154ea9a457b749c5fcd9bed4c3.tar.gz
rosegarden-f44cabe8c88eec154ea9a457b749c5fcd9bed4c3.zip
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/gui/editors/notation/NotationStaff.cpp')
-rw-r--r--src/gui/editors/notation/NotationStaff.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/editors/notation/NotationStaff.cpp b/src/gui/editors/notation/NotationStaff.cpp
index 638afd9..59d6803 100644
--- a/src/gui/editors/notation/NotationStaff.cpp
+++ b/src/gui/editors/notation/NotationStaff.cpp
@@ -96,7 +96,7 @@ NotationStaff::NotationStaff(TQCanvas *canvas, Segment *segment,
m_ready(false),
m_lastRenderedBar(0)
{
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
config->setGroup(NotationViewConfigGroup);
m_colourQuantize = config->readBoolEntry("colourquantize", false);
@@ -431,7 +431,7 @@ NotationStaff::getNoteNameAtCanvasCoords(double x, int y,
::Rosegarden::Key key;
getClefAndKeyAtCanvasCoords(x, y, clef, key);
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
config->setGroup(GeneralOptionsConfigGroup);
int baseOctave = config->readNumEntry("midipitchoctave", -2);
@@ -915,7 +915,7 @@ NotationStaff::renderSingleElement(ViewElementList::iterator &vli,
<Bool>(BaseProperties::INVISIBLE, invisible) && invisible) {
if (m_printPainter)
return ;
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
config->setGroup("Notation Options");
bool showInvisibles = config->readBoolEntry("showinvisibles", true);
if (!showInvisibles)