[TD]clazy warnings and duplicate setter/getter

- clazy warning re missing Q_OBJECT

- include TechDrawGlobal.h in headers

- resolve duplicate setter/getters
This commit is contained in:
Wanderer Fan
2022-07-28 12:58:17 -04:00
committed by WandererFan
parent 2c047e361d
commit aa1193559b
122 changed files with 294 additions and 79 deletions

View File

@@ -502,7 +502,7 @@ void ViewProviderPage::setGrid()
pageWidth = dp->getPageWidth();
pageHeight = dp->getPageHeight();
}
QGVPage* widget = getGraphicsView();
QGVPage* widget = getQGVPage();
if (widget) {
if (ShowGrid.getValue()) {
widget->showGrid(true);