From 7757d32b5a820623c469b7851354374427142598 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 4 Oct 2016 15:57:17 +0200 Subject: Backwards comaptible names and some cleanup --- sinksh/sinksh_utils.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'sinksh') diff --git a/sinksh/sinksh_utils.cpp b/sinksh/sinksh_utils.cpp index 0b9a34d..ec07e47 100644 --- a/sinksh/sinksh_utils.cpp +++ b/sinksh/sinksh_utils.cpp @@ -48,14 +48,13 @@ StoreBase &getStore(const QString &type) } else if (type == getTypeName()) { static Store store; return store; - } else if (type == getTypeName()) { + } else if (type == getTypeName()) { static Store store; return store; } - // TODO: reinstate the warning+assert - // Q_ASSERT(false); - // qWarning() << "Trying to get a store that doesn't exist, falling back to event"; + qWarning() << "Trying to get a store that doesn't exist, falling back to event"; + Q_ASSERT(false); static Store store; return store; } -- cgit v1.2.3