Commit 526ba25e authored by Kai Koehne's avatar Kai Koehne
Browse files

Prevent multiple inclusions of logging.h



Also provide destructor of QLoggingCategory inline.

Change-Id: Ic12cd0347eddcbfaddbd93ea8e9b9baa3307973f
Reviewed-by: default avatarFawzi Mohamed <fawzi.mohamed@digia.com>
parent b39363e7
......@@ -28,6 +28,7 @@
****************************************************************************/
#ifndef LOGGING_H
#define LOGGING_H
#include <qglobal.h>
......@@ -42,7 +43,7 @@ class QLoggingCategory
Q_DISABLE_COPY(QLoggingCategory)
public:
explicit QLoggingCategory(const char *category) : name(category) {}
~QLoggingCategory();
~QLoggingCategory() {}
static void setFilterRules(const QString &) {}
bool isDebugEnabled() const { return false; }
......
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