+ m_viewProps = new ViewProperties(dir);
+ m_viewProps->setDirProperties(viewProps);
+
+ // the view properties are stored by the ViewPropsApplierJob, so prevent
+ // that the view properties are saved twice:
+ m_viewProps->setAutoSaveEnabled(false);
+