Logger: don't call qFormatLog when unessesary
authorOlivier Goffart <ogoffart@woboq.com>
Tue, 20 Oct 2015 11:22:48 +0000 (13:22 +0200)
committerOlivier Goffart <ogoffart@woboq.com>
Tue, 20 Oct 2015 11:22:48 +0000 (13:22 +0200)
commit0b6d21e3d50fe4d832d56e5cf1607146b04cf632
tree98cbe0b81af339fba1b0f3ca064cb63715d8cbb5
parent557b70406985aca65677be3c5f803883849d215d
Logger: don't call qFormatLog when unessesary

That's a lot of string operations that can be avoided if the log window
is not shown
src/libsync/logger.cpp
src/libsync/logger.h