Remove unused lambda capture.
[dcpomatic.git] / src / wx / content_menu.cc
index 6fd5f99691456fa3e8139df8e498b4679b917adb..7e465947999b802782c54bf374bcc6e29326ce35 100644 (file)
@@ -612,7 +612,7 @@ ContentMenu::auto_crop ()
        });
 
        /* Update the view when something in the dialog is changed */
-       _auto_crop_dialog->Changed.connect([this, update_viewer](Crop crop) {
+       _auto_crop_dialog->Changed.connect([update_viewer](Crop crop) {
                update_viewer (crop);
        });
 }