Add a messageHandler to take care of qDebug & friends on QML

all qDebug / qCDebug and friends now will be properly
logged into developer -> log, on QML.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2017-06-05 18:16:12 +02:00 committed by Dirk Hohndel
parent e7cd1785c4
commit 0ea6f13891
5 changed files with 101 additions and 7 deletions

View file

@ -23,6 +23,7 @@ set(SUBSURFACE_MODELS_LIB_SRCS
divelistmodel.cpp
gpslistmodel.cpp
diveimportedmodel.cpp
messagehandlermodel.cpp
)
source_group("Subsurface Models" FILES ${SUBSURFACE_MODELS})