minor cleanups
parent
aa1fdb77f7
commit
4339d2339f
|
@ -159,13 +159,6 @@ public:
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Collect zombie processes */
|
|
||||||
#if !defined(__WINDOWS__)
|
|
||||||
void collect_zombies(int s) {
|
|
||||||
while (waitpid(-1, NULL, WNOHANG) > 0);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(__OSX__)
|
#if defined(__OSX__)
|
||||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -690,7 +690,7 @@ retry:
|
||||||
ret = QMessageBox::question(this, tr("Version mismatch -- update scene file?"),
|
ret = QMessageBox::question(this, tr("Version mismatch -- update scene file?"),
|
||||||
QString("The requested scene file is from an older version of Mitsuba "
|
QString("The requested scene file is from an older version of Mitsuba "
|
||||||
"(%1). To work with version %2, it will need to be updated. If you "
|
"(%1). To work with version %2, it will need to be updated. If you "
|
||||||
"continue, Mitsuba will perform a fully automated upgrade (note that a "
|
"continue, Mitsuba will perform a fully automated upgrade (a "
|
||||||
"backup copy will be made).\n\nProceed?")
|
"backup copy will be made).\n\nProceed?")
|
||||||
.arg(version.toString().c_str())
|
.arg(version.toString().c_str())
|
||||||
.arg(MTS_VERSION), QMessageBox::Yes | QMessageBox::Cancel);
|
.arg(MTS_VERSION), QMessageBox::Yes | QMessageBox::Cancel);
|
||||||
|
|
Loading…
Reference in New Issue