Fix clang compiler warnings:

+ fix -Winconsistent-missing-override
+ fix -Wunused-variable
+ fix -Wbraced-scalar-init
+ fix -Wparentheses (View3DInventorViewer::checkGroupOnTop: operator '?:' has lower precedence than '+'; '+' will be evaluated first)
+ fix -Wundefined-bool-conversion (MainWindow::updateActions)
+ suppress -Woverloaded-virtual but fix later
This commit is contained in:
wmayer
2019-08-09 14:50:53 +02:00
parent 53e597a5d6
commit 4068df6483
16 changed files with 128 additions and 118 deletions

View File

@@ -259,7 +259,6 @@ public:
}
int rowCount(const QModelIndex & parent = QModelIndex()) const {
const auto &docs = App::GetApplication().getDocuments();
Info info;
int row = 0;
if(!parent.isValid()) {