Fix the log window not showing csync logs
authorJocelyn Turcotte <jturcotte@woboq.com>
Thu, 8 Dec 2016 16:30:41 +0000 (17:30 +0100)
committerJocelyn Turcotte <jturcotte@woboq.com>
Fri, 9 Dec 2016 09:03:46 +0000 (10:03 +0100)
commitf985111b6286a0c2ef4794495a6976f756a47776
treed7f8e199fe9a2850c6b8b7481fa333436e0242fe
parente8d734b1c2b6b5d489ef67ccae5d301072db396c
Fix the log window not showing csync logs

The csync log level was only set up on startup, and for log files.
Fix the issue by making Logger::isNoop rely on being explicitly activated
for the log window instead of relying on the presence of a connected
signal, and move the csync log level logic in Logger.
src/gui/application.cpp
src/gui/logbrowser.cpp
src/libsync/logger.cpp
src/libsync/logger.h