summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2021-07-27 23:31:01 +0900
committerMichele Calgaro <[email protected]>2021-07-27 23:38:14 +0900
commited9a0fa7f1fa1be089e20597f976260872a27bf7 (patch)
treefda72b7989e33295fea558f6b6b0de4dc6c5db06 /src/gui
parent2c7734cac0b2e052bcb65131e00d9fafaf4f8ab9 (diff)
downloadrosegarden-ed9a0fa7f1fa1be089e20597f976260872a27bf7.tar.gz
rosegarden-ed9a0fa7f1fa1be089e20597f976260872a27bf7.zip
Fixed FTBFS with clang.r14.0.11
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit a690b16f6e8daa7c0d3ee6a331364f2f1ec397d1)
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/editors/matrix/MatrixStaff.h2
-rw-r--r--src/gui/editors/notation/NotationStaff.h10
2 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/editors/matrix/MatrixStaff.h b/src/gui/editors/matrix/MatrixStaff.h
index 2ce65a8..eec5802 100644
--- a/src/gui/editors/matrix/MatrixStaff.h
+++ b/src/gui/editors/matrix/MatrixStaff.h
@@ -79,7 +79,7 @@ protected:
virtual ViewElement* makeViewElement(Event*);
public:
- LinedStaff::setResolution;
+ using LinedStaff::setResolution;
// double getTimeScaleFactor() const { return m_scaleFactor * 2; } // TODO: GROSS HACK to enhance matrix resolution (see also in matrixview.cpp) - BREAKS MATRIX VIEW, see bug 1000595
double getTimeScaleFactor() const { return m_scaleFactor; }
diff --git a/src/gui/editors/notation/NotationStaff.h b/src/gui/editors/notation/NotationStaff.h
index 9660700..758f180 100644
--- a/src/gui/editors/notation/NotationStaff.h
+++ b/src/gui/editors/notation/NotationStaff.h
@@ -100,11 +100,11 @@ public:
m_barNumbersEvery = barNumbersEvery;
}
- LinedStaff::setPageMode;
- LinedStaff::setPageWidth;
- LinedStaff::setRowsPerPage;
- LinedStaff::setRowSpacing;
- LinedStaff::setConnectingLineLength;
+ using LinedStaff::setPageMode;
+ using LinedStaff::setPageWidth;
+ using LinedStaff::setRowsPerPage;
+ using LinedStaff::setRowSpacing;
+ using LinedStaff::setConnectingLineLength;
/**
* Gets a read-only reference to the pixmap factory used by the