--- a/QTfrontend/hwform.cpp Mon Sep 26 23:36:00 2016 -0400
+++ b/QTfrontend/hwform.cpp Sat Oct 01 16:45:59 2016 +0200
@@ -1712,7 +1712,7 @@
void HWForm::closeEvent(QCloseEvent *event)
{
config->SaveOptions();
-if VIDEOREC
+#ifdef VIDEOREC
config->SaveVideosOptions();
#endif
event->accept();