aboutsummaryrefslogtreecommitdiff
path: root/lib/events/event.cpp
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-11-26 16:07:25 +0100
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-11-26 16:07:25 +0100
commit4ba795556721a88d2ac258d9095a46de21d77011 (patch)
treec3595ccc6a6f861d7fe91e6bcd25e74f4626adb3 /lib/events/event.cpp
parentb3d62050befbb1c526f03e4356f3263d197c45f2 (diff)
downloadlibquotient-4ba795556721a88d2ac258d9095a46de21d77011.tar.gz
libquotient-4ba795556721a88d2ac258d9095a46de21d77011.zip
Revert "Drop #include "logging.h" from event.h"
Doesn't really help build times, instead breaking the build on older Qt.
Diffstat (limited to 'lib/events/event.cpp')
-rw-r--r--lib/events/event.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/lib/events/event.cpp b/lib/events/event.cpp
index 305dd454..3d66ab55 100644
--- a/lib/events/event.cpp
+++ b/lib/events/event.cpp
@@ -9,20 +9,15 @@
using namespace Quotient;
-void Quotient::logFactorySetup(event_mtype_t eventTypeId)
-{
- qCDebug(EVENTS) << "Adding factory method for" << eventTypeId;
-}
-
event_type_t EventTypeRegistry::initializeTypeId(event_mtype_t matrixTypeId)
{
const auto id = get().eventTypes.size();
get().eventTypes.push_back(matrixTypeId);
if (strncmp(matrixTypeId, "", 1) == 0)
- qCDebug(EVENTS) << "Initialized unknown event type with id" << id;
+ qDebug(EVENTS) << "Initialized unknown event type with id" << id;
else
- qCDebug(EVENTS) << "Initialized event type" << matrixTypeId << "with id"
- << id;
+ qDebug(EVENTS) << "Initialized event type" << matrixTypeId << "with id"
+ << id;
return id;
}