projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a27a2c3
)
Missing initialisation of _fps; fix nonfunctional GUI server log.
author
Carl Hetherington
<cth@carlh.net>
Tue, 12 Feb 2019 22:27:10 +0000
(22:27 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 12 Feb 2019 22:27:10 +0000
(22:27 +0000)
src/tools/dcpomatic_server.cc
patch
|
blob
|
history
diff --git
a/src/tools/dcpomatic_server.cc
b/src/tools/dcpomatic_server.cc
index 727983b5ac2ba41992e220950f15f0c53827e6b8..dc640ff033964a9b33993dc0571b81bb915b6d2d 100644
(file)
--- a/
src/tools/dcpomatic_server.cc
+++ b/
src/tools/dcpomatic_server.cc
@@
-60,6
+60,9
@@
static unsigned int const log_lines = 32;
class ServerLog : public Log, public Signaller
{
public:
+ ServerLog ()
+ : _fps (0)
+ {}
string get () const {
string a;
@@
-266,6
+269,7
@@
private:
wxInitAllImageHandlers ();
server_log.reset (new ServerLog);
+ server_log->set_types (LogEntry::TYPE_GENERAL | LogEntry::TYPE_WARNING | LogEntry::TYPE_ERROR);
dcpomatic_log = server_log;
Config::FailedToLoad.connect (boost::bind (&App::config_failed_to_load, this));