Avoid warning message when the level exceeds the threshold
This commit is contained in:
parent
4a9224c04e
commit
7bfe32c7df
@ -104,6 +104,7 @@ void Init() {
|
|||||||
|
|
||||||
sClassLevels = new QMap<QString, Level>();
|
sClassLevels = new QMap<QString, Level>();
|
||||||
sNullDevice = new NullDevice;
|
sNullDevice = new NullDevice;
|
||||||
|
sNullDevice->open(QIODevice::ReadWrite);
|
||||||
|
|
||||||
// Catch other messages from Qt
|
// Catch other messages from Qt
|
||||||
if (!sOriginalMessageHandler) {
|
if (!sOriginalMessageHandler) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user