Commit 342677e0 authored by Laurent Montel's avatar Laurent Montel 😁

create own debug category

parent 72624f43
...@@ -139,7 +139,7 @@ set(contacteditor_LIB_SRC ...@@ -139,7 +139,7 @@ set(contacteditor_LIB_SRC
${contacteditor_job_SRCS} ${contacteditor_job_SRCS}
) )
ecm_qt_declare_logging_category(contacteditor_LIB_SRC HEADER akonadi_contact_debug.h IDENTIFIER AKONADICONTACT_LOG CATEGORY_NAME org.kde.pim.akonadicontact) ecm_qt_declare_logging_category(contacteditor_LIB_SRC HEADER contacteditor_debug.h IDENTIFIER CONTACTEDITOR_LOG CATEGORY_NAME org.kde.pim.contacteditor)
set(contacteditor_LIB_SRC set(contacteditor_LIB_SRC
${contacteditor_LIB_SRC} ${contacteditor_LIB_SRC}
......
...@@ -6,7 +6,7 @@ set(akonadicontact_addresslocation_web_editor_SRCS ...@@ -6,7 +6,7 @@ set(akonadicontact_addresslocation_web_editor_SRCS
) )
set(akonadicontact_webengine_LIB Qt5::WebEngine Qt5::WebEngineWidgets) set(akonadicontact_webengine_LIB Qt5::WebEngine Qt5::WebEngineWidgets)
ecm_qt_declare_logging_category(akonadicontact_addresslocation_web_editor_SRCS HEADER akonadi_contact_debug.h IDENTIFIER AKONADICONTACT_LOG CATEGORY_NAME org.kde.pim.akonadi_contact) ecm_qt_declare_logging_category(akonadicontact_addresslocation_web_editor_SRCS HEADER contacteditor_debug.h IDENTIFIER CONTACTEDITOR_LOG CATEGORY_NAME org.kde.pim.akonadi_contact)
set(addresseslocationviewer_SRCS addresseslocationviewertest.cpp ${akonadicontact_addresslocation_web_editor_SRCS} ../addresseslocationgrantleeformater.cpp set(addresseslocationviewer_SRCS addresseslocationviewertest.cpp ${akonadicontact_addresslocation_web_editor_SRCS} ../addresseslocationgrantleeformater.cpp
../addressgrantleeobject.cpp ../iconnamecache.cpp) ../addressgrantleeobject.cpp ../iconnamecache.cpp)
......
...@@ -4,7 +4,7 @@ set(akonadicontact_addresslocation_web_editor_SRCS ...@@ -4,7 +4,7 @@ set(akonadicontact_addresslocation_web_editor_SRCS
) )
set(akonadicontact_webengine_LIB Qt5::WebEngine Qt5::WebEngineWidgets) set(akonadicontact_webengine_LIB Qt5::WebEngine Qt5::WebEngineWidgets)
ecm_qt_declare_logging_category(akonadicontact_addresslocation_web_editor_SRCS HEADER akonadi_contact_debug.h IDENTIFIER AKONADICONTACT_LOG CATEGORY_NAME org.kde.pim.akonadi_contact) ecm_qt_declare_logging_category(akonadicontact_addresslocation_web_editor_SRCS HEADER contacteditor_debug.h IDENTIFIER CONTACTEDITOR_LOG CATEGORY_NAME org.kde.pim.akonadi_contact)
set(addresseditor_SRCS set(addresseditor_SRCS
${akonadicontact_addresslocation_web_editor_SRCS} ${akonadicontact_addresslocation_web_editor_SRCS}
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include "addresseslocationengineviewer.h" #include "addresseslocationengineviewer.h"
#include "addresseslocationenginepage.h" #include "addresseslocationenginepage.h"
#include "akonadi_contact_debug.h" #include "contacteditor_debug.h"
#include "../addresseslocationgrantleeformater.h" #include "../addresseslocationgrantleeformater.h"
#include <KMessageBox> #include <KMessageBox>
#include <KLocalizedString> #include <KLocalizedString>
...@@ -72,7 +72,7 @@ void AddressesLocationEngineViewer::slotLinkClicked(const QUrl &url) ...@@ -72,7 +72,7 @@ void AddressesLocationEngineViewer::slotLinkClicked(const QUrl &url)
editAddress(addressId); editAddress(addressId);
} }
} else { } else {
qCDebug(AKONADICONTACT_LOG) << "Unknown url" << url; qCDebug(CONTACTEDITOR_LOG) << "Unknown url" << url;
} }
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment