Rename TYPE_DEBUG_PLAYER to TYPE_DEBUG_VIDEO_VIEW.
[dcpomatic.git] / src / lib / log.cc
index b7edd4e29d93d0a0cde0c9c87f1c77e5b11fecea..7851c133f9bc74f84a8cc912eecca63acd484b03 100644 (file)
@@ -25,7 +25,6 @@
 #include "log.h"
 #include "cross.h"
 #include "config.h"
-#include "safe_stringstream.h"
 #include "string_log_entry.h"
 #include <time.h>
 #include <cstdio>
@@ -39,14 +38,7 @@ using boost::shared_ptr;
 Log::Log ()
        : _types (0)
 {
-       _config_connection = Config::instance()->Changed.connect (boost::bind (&Log::config_changed, this));
-       config_changed ();
-}
 
-void
-Log::config_changed ()
-{
-       set_types (Config::instance()->log_types ());
 }
 
 void