commit 11f5a3a72cb304abda407dda57d9843e32ba42c0
Author: Christian Ehringfeld <c.ehringfeld@t-online.de>
Date:   Sat Sep 26 22:55:30 2015 +0200

    added missing license stuff

diff --git a/src/entityinspector.cpp b/src/entityinspector.cpp
index 2728f4a..a271d84 100644
--- a/src/entityinspector.cpp
+++ b/src/entityinspector.cpp
@@ -1,3 +1,18 @@
+/*
+ * Copyright (C) 2015 Christian Ehringfeld <c.ehringfeld@t-online.de>
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
+ */
 #include "entityinspector.h"
 #include <QDir>
 #include <QDebug>
diff --git a/src/entityinspector.h b/src/entityinspector.h
index 846639c..0c061f3 100644
--- a/src/entityinspector.h
+++ b/src/entityinspector.h
@@ -1,3 +1,18 @@
+/*
+ * Copyright (C) 2015 Christian Ehringfeld <c.ehringfeld@t-online.de>
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
+ */
 #ifndef ENTITYINSPECTOR_H
 #define ENTITYINSPECTOR_H
 #include <QString>
diff --git a/src/logger.cpp b/src/logger.cpp
index 7c5547a..37c8085 100644
--- a/src/logger.cpp
+++ b/src/logger.cpp
@@ -39,14 +39,13 @@ void Logger::lastError(const QSqlQuery &q, bool logQuery) {
             QString msg = "{" + QString("\"time\":\"") +
                           QDateTime::currentDateTime().toString(Qt::ISODate) + QString("\"") + errorMsg;
             msg += this->generateLogMsg(q) + "}";
-        this->logMsg(msg);
+            this->logMsg(msg);
             if (errorMsg.isEmpty()) {
                 qDebug() << msg.replace("\"", "'");
             } else {
                 qWarning() << msg.replace("\"", "'");
             }
         }
-
     }
 }
 
@@ -56,7 +55,6 @@ void Logger::lastError(const QSqlError &e) {
     }
 }
 
-
 void Logger::logMsg(const QString &value) {
     QFile log(this->getPath());
     log.open(QIODevice::WriteOnly | QIODevice::Text | QIODevice::Append);
