code style

This commit is contained in:
Patrick von Reth 2015-04-18 15:11:04 +02:00
parent 2dcde7b37a
commit 282f51da87
8 changed files with 22 additions and 20 deletions

View File

@ -31,7 +31,8 @@ static int debugLevel = 0;
static std::unique_ptr<QTextStream> logFile = std::unique_ptr<QTextStream>();
static std::unique_ptr<QFile> file = std::unique_ptr<QFile>();
static void init(){
static void init()
{
debugLevel = qgetenv("LIBSNORE_DEBUG_LVL").toInt();
if (qgetenv("LIBSNORE_LOG_TO_FILE").toInt() == 1) {

View File

@ -112,5 +112,4 @@ private:
};
}
#endif // SNORECOREPRIVATE_H

View File

@ -25,8 +25,10 @@
#include <QTextDocument>
#include <QTextDocumentFragment>
namespace Snore {
class SNORE_EXPORT Utils : public QObject {
namespace Snore
{
class SNORE_EXPORT Utils : public QObject
{
Q_OBJECT
public:
Utils(QObject *parent = nullptr);