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:
@@ -1279,9 +1279,10 @@ void MainWindow::appendRecentFile(const QString& filename)
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::updateActions(bool delay) {
|
||||
void MainWindow::updateActions(bool delay)
|
||||
{
|
||||
//make it safe to call before the main window is actually created
|
||||
if(!this)
|
||||
if (!instance)
|
||||
return;
|
||||
if(!d->activityTimer->isActive())
|
||||
d->activityTimer->start(150);
|
||||
|
||||
Reference in New Issue
Block a user